[Qt-creator] How to include libraries in Qt
Krishna Achugatla
krishnaa at symbian.org
Fri Feb 12 00:24:15 CET 2010
Hi,
I have created a Qt SharedLibrary (e.g. MySharedLibrary) using Qt-Creator. I
followed the navigation steps "File"->"New File or Project->Projects"->"C++
Library". Then choose the "Type" as "Shared Library", gave name and it
created the Shared Library. The created shared lib has the necessary
declarations and defines wrt Q_DECL_EXPORT. I wrote few functions in that
class, so that they can be accessed in another application.
How do I include this Shared Library as part of another Qt Application?.
What are the necessary changes required to make to .pro file (like adding
LIBS variable) and source files of the app?. Please let me know any
documentation is available. If the documentation explains with code, the
necessary changes then it becomes very easy for developers.
Similarly it is good to have documentation about other two types of
libraries, viz. "Statically linked library" & "Plugin", how to include them
in an application with example code.
-Krishna.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100211/1f7664a0/attachment.html
More information about the Qt-creator-old
mailing list