[Qt-interest] Building without -Zc:wchar_t-?

Pau Garcia i Quiles pgquiles at elpauer.org
Thu Jan 22 17:16:38 CET 2009


On Thu, Jan 22, 2009 at 3:34 PM, Iurii Gordiienko <hordi at ukr.net> wrote:
> Hi
> I use Qt-4.4.3 under Windows and Qt has the default build option
> -Zc:wchar_t-. But I use some libraries, which were built without that option
> and I can't rebuild its. Is it safe to rebuilds the Qt-library
> without-Zc:wchar_t-?

Yes, it is.

The easiest way to build with -Zc:wchar_t is to edit
QT_SOURCE\mkspecs\win32-msvc2008 (or the mkspec for the compiler you
are using) and modify the QMAKE_CFLAGS line.

Please note by default Qt uses the win32-msvc2005 mkspec for VC++2008,
therefore you need to explicitly specify the mkspec by passing
"-platform win32-msvc2008" to configure.exe.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the Qt-interest-old mailing list