[Qt-interest] Fwd: qmake and staticlib issue
ami guru
dosto.walla at gmail.com
Mon Apr 20 10:25:44 CEST 2009
Hello Farid,
I have serialized the static libs according to the order and linking them
in that order as well.
libVrMath is stand-alone
libDataStructs depends on libVrMath
libGraphics depends both on libVrMath and libDataStructs
And in the .pro file i am linking them in that order as well
Is there any other way you would like to suggest to track that down
That would be of great help
Regards
Sajjad
---------- Forwarded message ----------
From: Farid Derradji <farid.derradji at itwm.fraunhofer.de>
Date: Mon, Apr 20, 2009 at 8:49 AM
Subject: Re: [Qt-interest] qmake and staticlib issue
To: qt-interest at trolltech.com
Hello Sajjad,
I guess that you have problems with the link order of your static libs.
You always have to put in mind that the GNU linker is a pretty stupid tool.
Example:
Let Library A depend on Library B. Hence the correct link order would be
LIBS = A B (not LIBS = B A) !
Regards
Farid
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090420/f7a93d94/attachment.html
More information about the Qt-interest-old
mailing list