Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, June 2007
Qmake library loading


Message 1 in thread

Hi,
Is there a qmake variable for the order of loading libraries?

I would like to have my local static library load after the Qt libraries...

Right now I have "LIBS += -lmystatic" in my project file.  The makefile
created loads it before the qt libs.

Thanks in advance,
-Steve




Important Note: This email and any attachment hereto are confidential and
may contain trade secrets or may be otherwise protected from disclosure. If
you have received it in error you are in notice of this fact. Please notify
us immediately by reply email and then delete this email and any attachment
from your system. Please understand that you are not allowed to copy this
email or any attachment hereto or disclose its contents to any other person.
Thank you.




---

This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.

Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.

--
 [ signature omitted ] 

Message 2 in thread

Gianetti Stephen <Stephen.Gianetti@xxxxxxxxxxx> wrote on 06/18/2007
10:53:13 AM:

#
# Hi,
# Is there a qmake variable for the order of loading libraries?
#
# I would like to have my local static library load after the Qt
libraries...
#
# Right now I have "LIBS += -lmystatic" in my project file.  The makefile
# created loads it before the qt libs.

You might look at your platform's qmake.conf (in the mkspecs directory) and
see if there's a variable you can add your library to...
You might also try adding it directly to QMAKE_LFLAGS.

--
 [ signature omitted ]