[Qt-interest] static build problem with shared libraries
Vyacheslav V. Yurkov
uvv.mail at gmail.com
Mon Aug 10 08:34:21 CEST 2009
2009/8/10 Matthias Kunz <matthias.kunz at newcastle.ac.uk>
> Hello,
>
> I want to make a static build of a project under Linux. Therefore I build
> Qt SDK static and include the files libQtGui.a and libQtCore.a in the .pro
> file.
> However when I compile (with the Qt Eclipse Integration) the shared
> libraries libQtGui.so and libQtCore.so are added as well?
> Why does that happen?
>
> Matthias
Hello Matthias,
you can find more information about building Qt statically there:
http://wiki.qtcentre.org/index.php?title=Building_static_Qt_on_Linux
Please pay attention that it'd be better to specify a different installation
directory for the static build of Qt.
You also can find there
http://wiki.qtcentre.org/index.php?title=Building_static_applications
that you should use CONFIG += static for building static applications.
--
Vyacheslav V. Yurkov <uvv.mail at gmail.com> Team Leader
Norilsk
Tel: +79069001870
Software Development Department
Joint Stock Company "Channel-7", ISP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090810/2e0c76c0/attachment.html
More information about the Qt-interest-old
mailing list