[Qt-creator] Using a .lib?

Ladnar, Marc Marc.Ladnar at ksab.kroschu.com
Wed Jul 15 10:31:51 CEST 2009



in your .pro file you can add something like this:

debug
{
  LIBS += your_debug_lib.lib
}
release
{
  LIBS += your_release_lib.lib
}


Marc


-----Ursprüngliche Nachricht-----
Von: Robert Caldecott [mailto:robert.caldecott at gmail.com] 
Gesendet: Mittwoch, 15. Juli 2009 10:04
An: qt-creator at trolltech.com
Betreff: [Qt-creator] Using a .lib?

I have created a project that consists of a Qt GUI and a C++ library.
The GUI depends on the library project, but fails to link as it cannot 
find any of the library functions.  How do I tell the GUI project to 
link with the .lib?  Do I simply add the .lib to the list of files?
If so, how do I have the project use the debug lib for debug builds and 
the release lib for release builds?

I was hoping that the Project Dependency page would of taken care of 
this for me.
_______________________________________________
Qt-creator mailing list
Qt-creator at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator






More information about the Qt-creator-old mailing list