When I compile a fresh Qt project with the new Qt Creator 2.6.1 and Qt 5.0 I get the following errors:
C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
Error: cannot open C:\Users\Ömercan\AppData\Local\Temp\main.obj.7320.31.jom for write
jom: C:\Projekte\PixelGame\src\com\pearstudios\texturepacker\TexturePacker-Debug\Makefile [debug] Error 1
19:46:21: The process "C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe" terminated with exit code 2.
Error while building/deploying project TexturePacker (kit: Desktop Qt 5.0.0 MSVC2010 32bit (SDK))
When executing step 'Make'
After changing the options to use NMake directly I am getting the following errors:
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\Ömercan\AppData\Local\Temp\nm25A.tmp
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"": Exit-Code "0xc0000135"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"": Exit-Code "0x2"
Stop.
19:49:49: The process "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" terminated with exit code 2.
Error while building/deploying project TexturePacker (kit: Desktop Qt 5.0.0 MSVC2010 32bit (SDK))
When executing step 'Make'
When changing the TEMP and TMP environment variable to another path with full ascii characters (so not using the non-ascii character 'Ö') I get the following errors with JOM:
C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\Projekte\TMP\main.obj.764.31.jom
jom: C:\Projekte\PixelGame\src\com\pearstudios\texturepacker\TexturePacker-Debug\Makefile.Debug [debug\main.obj] Error 2
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\Projekte\TMP\mainwindow.obj.764.31.jom
jom: C:\Projekte\PixelGame\src\com\pearstudios\texturepacker\TexturePacker-Debug\Makefile.Debug [debug\mainwindow.obj] Error 2
jom: C:\Projekte\PixelGame\src\com\pearstudios\texturepacker\TexturePacker-Debug\Makefile [debug] Error 2
19:53:52: The process "C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe" terminated with exit code 2.
Error while building/deploying project TexturePacker (kit: Desktop Qt 5.0.0 MSVC2010 32bit (SDK))
When executing step 'Make'
And with NMAKE:
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\..\..\..\..\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\Projekte\TMP\nm803F.tmp
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"": Exit-Code "0xc0000135"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"": Exit-Code "0x2"
Stop.
19:56:54: The process "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" terminated with exit code 2.
Error while building/deploying project TexturePacker (kit: Desktop Qt 5.0.0 MSVC2010 32bit (SDK))
When executing step 'Make'
I have not reduced the output, because there could be a problem with the command line parameters. There is also no difference between the Debug and Release build and I also use MSVC 2010 without problems on Windows 7 32bit. I have the new MS.NET Framework 4.5 and 4 installed. Several months ago I also used the Qt Creator with Qt 4.8 without problems, but I removed it to make space for other programs. Now I need Qt again, but it is not useable, due to this problem.
Has someone an idea? Something I could try?
I recently had the pleasure to find out that Qt (don't remember which version exactly) does not work when you have paths with spaces in it sigh. It just falls apart at some point, while other parts work. No usable error message. For that reason, I would check if it also barfs at the "Ömercan" in your path. And file a bug report, if you care.