Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.


From Wiki
Jump to: navigation, search

This article explains how to package dynamic library into Harmattan deb

Article Metadata

flycarl 在 10 Nov 2011 创建
最后由 hamishwillee 在 13 Jun 2012 编辑


TO create and use shared library , one can create an new project from Qt Creator menu->file->new->New File or Project->Other Project->C++ library follow the instruction on Qt Help .

then we create a project to use the library, announce the library in project file like this:

LIBS += -L../aaa -laaa

-L parameter show the library path, -l show library name.

here is one thing to mention on Harmattan platform, we need deploy the library from PC disk to phone memory, to do so add the following code in project file

my_lib.files = ../aaa/lib/*.* 
my_lib.path = /usr/lib
INSTALLS += my_lib



This page was last modified on 13 June 2012, at 10:59.
45 page views in the last 30 days.