PDA

View Full Version : DLL is being built instead of a LIB file



KenJustKen
21st November 2011, 17:08
I am trying to build the twitter library "minimoog-QTweetLib" and instead of it creating a .lib file it's creating a .dll file in the "LIB" directory. I have run into this before. How, do I for the environment to create a .lib file instead of a dll?

Ken

nikomaster
22nd November 2011, 08:57
Hi Ken,

For your case you must add the following line to your .pro (project) file.
CONFIG+=staticlib
In this way the compiler knows you want a static lib instead of a shared library.

Regards.