Namespaces

Variants
Actions

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.

如何在Harmattan上打包部署动态链接库

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 编辑

steps

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

example

File:Dllinclude.zip

相关链接

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

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×