Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
4.7.0
-
None
-
Windows 7 64bit Home Premium ed.
Qt 4.7.0 Windows (mingw)
Qt Creator 2.01
moc version: Qt Meta Object Compiler version 62 (Qt 4.7.0)
Description
moc.exe crashes
To reproduce:
1 - install Nokia Qt SDK
2 - install Qt 4.7.0 for Windows (mingw) - set it to use mingw from Nokia Qt SDK
3 - open Qt 4.7.0 Command prompt
4 - cd to E:\Qt\4.7.0-win\examples\widgets\lineedits
5 - run qmake
6 - run make
7 - notice that moc.exe crashes and output is:
E:\Qt\4.7.0-win\examples\widgets\lineedits>make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `E:/Qt/4.7.0-win/examples/widgets/lineedits'
E:\Qt\4.7.0-win\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EVAL -DQT_DLL
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\incl
ude\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include" -I"..\..\..\include\
ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-g++" -D_GNUC_ -DW
IN32 window.h -o tmp\moc\debug_shared\moc_window.cpp
In file ..\..\..\include/QtCore/../../src/corelib/tools/qvector.h, line 481: Out
of memory
mingw32-make[1]: *** [tmp/moc/debug_shared/moc_window.cpp] Error -1073741819
mingw32-make[1]: Leaving directory `E:/Qt/4.7.0-win/examples/widgets/lineedits'
mingw32-make: *** [debug-all] Error 2
I can reproduce this for the the rc1 for both Windows and Symbian as well. I can also reproduce this when building for the Qt Simulator version (4.6) for Symbian.
My guess is that Windows Updates has updated system libraries and there are some binary incompatibilities between them and either mingw32-make or moc.exe
On another note, SDKMaintenancetool.exe (part of the Nokia Qt SDK) also fails to launch with no error whatsoever.