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

Qt-interest Archive, March 2002
QT_DLL --> QT_LIB


Message 1 in thread


<<< text/html: EXCLUDED >>>


Message 2 in thread

> I am using Qt3.0.1 from within MSVC6.
> I want my project to be based on Qt-lib not Qt-dll files.
> When I use the preprocessor QT_DLL, every things goes well.
> But when I use QT_LIB,
> I got several of "unresolved external symbol" in the linking stage
> do you have any idea about that?

Did you build Qt statically?  There is no such define as QT_LIB, so this
won't have any effect.  If you want your application to be static then I
suggest you reinstall Qt and select the Static option and use qmake to
generate your Makefiles and dsp files.

Andy