[debug/moc_mainwindow.cpp] Error 1 not found



  • Well i saw the tread here talking about this and tryed to do what they said but nothing fixed it here is the output

    @Running build steps for project untitled1...
    Starting: "f:\qtsdk(latest)\desktop\qt\4.7.3\mingw\bin\qmake.exe" F:\Projects\ProjectsQt\untitled1\untitled1.pro -r -spec win32-g++
    'f:\QtSDK' is not recognized as an internal or external command,
    operable program or batch file.
    'f:\QtSDK' is not recognized as an internal or external command,
    operable program or batch file.
    The process "f:\qtsdk(latest)\desktop\qt\4.7.3\mingw\bin\qmake.exe" exited normally.
    Starting: "F:\QtSDK(latest)\mingw\bin\mingw32-make.exe"
    F:/QtSDK(latest)/mingw/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory F:/Projects/ProjectsQt/untitled1-build-desktop' f:\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\bin\uic.exe ..\untitled1\mainwindow.ui -o ui_mainwindow.h 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(latest)\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\untitled1" -I"." -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\main.o ..\untitled1\main.cpp 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(latest)\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\untitled1" -I"." -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\mainwindow.o ..\untitled1\mainwindow.cpp F:\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\bin\moc.exe -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(latest)\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\untitled1" -I"." -I"..\..\..\QtSDK(latest)\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\untitled1\mainwindow.h -o debug\moc_mainwindow.cpp mingw32-make[1]: Leaving directoryF:/Projects/ProjectsQt/untitled1-build-desktop'
    'F:\QtSDK' is not recognized as an internal or external command,
    operable program or batch file.
    mingw32-make[1]: *** [debug/moc_mainwindow.cpp] Error 1
    mingw32-make: *** [debug] Error 2
    The process "F:\QtSDK(latest)\mingw\bin\mingw32-make.exe" exited with code 2.
    Error while building project untitled1 (target: Desktop)
    When executing build step 'Make'@


  • Moderators

    Do you really have a path with (latest) in it? Focus on the ().


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.