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

Qt-interest Archive, April 2007
static link #defines


Message 1 in thread

Hello list,


I'm having problems statically linking a QT application using MSVC++
6.0. The main problem is that I'm not using qmake, and so I need to set
all the correct settings muself.

I'm linking against static .lib files that were built using the QT build
system, and I have define QT_NODLL in my project - but I still get
errors, I suspect one of the following to be the culprit:

 * mismatch runtime libraries between the QT build and my own. How can I
work out which RTL library was used to compile the Qt .lib files?

 * more missing #define statements.

Can anyone here offer any suggestions? I get hundreds of warnings and
about seventy errors. The warnings are all about "local symbol X was
imported", and the errors are to do with missing symbols - all to do
with QDomNode, which is odd, since it should be inside QtXMLsd.lib -
which I am linking to.

Any ideas?


Thanks,

-- 
 [ signature omitted ]