[Tools] QtCreator not working problem in Building a solution
-
Hi,
When try to compile a simple gui application I get :
@:-1: error: [debug] Error -1073741790
Compile Output :
Running build steps for project HelloWorld...
Configuration unchanged, skipping qmake step.
Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe"
C:/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Users/SAlexandru/Desktop/HelloWorld-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"........\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"........\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"........\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"........\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"debug" -I"." -I"..\HelloWorld" -I"." -I"........\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o debug\main.o ..\HelloWorld\main.cpp
mingw32-make: *** [debug] Error -1073741790
The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project HelloWorld (target: Desktop)
When executing build step 'Make'
@
I've found some solutions online but nothing worked. Someone said that there should be no white spaces in the Path env variable, I check and I don't have ( if you don't consider : ...;C\Program Files...; having white spacesc :D ) -
Did the first compilation work ?
If it did, the problem might be that your antivirus is preventing the .o file from being overwritten."-1073741790" or "0xC0000022" means "access denied".
-
The first compilation ? No, nothing works. I've disabled the antivirus, I've given qtcreator Run as admin and still nothing.
-
So there is no .o or .exe files yet in "C:/Users/SAlexandru/Desktop/HelloWorld-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/debug" ?
-
yep
-
You could try compiling from Qt console (from the start menu -> QtSDK -> Desktop -> Qt 4.7.4 for Desktop (mingw) ) also running as administrator.