[Qt-creator] Static configuration
Adam Higerd
ahigerd at timeips.com
Wed Feb 11 19:12:24 CET 2009
M. Bashir Al-Noimi wrote:
> I'm not sure your opinion is accurate, because I didn't face this
> problem before. In addition to QtCreator designed to work on M$ Windows
> and *nix... etc, so there is no proving that the ideal deployment
> strategy for Qt/Win is M$ VS.
Note that I said "deployment." For development by all means I'd rather
be using MinGW than MSVC. However, for deployment the MSVC compiler is
technologically superior than the current version of MinGW's g++. It
produces smaller, faster binaries and the runtime libraries are already
installed on Windows XP and Vista. The best part is, Visual Studio
Express is free -- you don't have to put down any money on the full
version of Visual Studio.
I can't be sure you didn't face this problem before. The static linkage
just makes your application link DIRECTLY to mingwm10.dll instead of
indirectly via QtCore4.dll. Did you try actually deploying the
application and Qt libraries on a system that didn't have MinGW installed?
And in reply to your other e-mail, no, you put "QMAKE_CFLAGS -=
-mthreads" in your .pro file. You might need to do the same for
QMAKE_CXXFLAGS; I'm not sure.
/s/ Adam
More information about the Qt-creator-old
mailing list