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 over the next few weeks. Thanks for all your past and future contributions.
This article explains how to package dynamic library into Harmattan deb
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