[Qt-interest] .lib for dll not created (msvc)
Matthias Pospiech
matthias.pospiech at gmx.de
Mon Jul 12 13:18:39 CEST 2010
Matthias Pospiech schrieb:
> I have a project which compiles fine with mingw and also creates an .a file.
> However with msvc-2005, the same qmake code does not produce a .lib file,
> which I do not understand. Here is the qmake code:
>
The whole problem was that Q_WS_WIN was not defined. Adding the
following include makes it work:
#include <QtGlobal>
#if defined(Q_WS_WIN)
Matthias
More information about the Qt-interest-old
mailing list