Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [debug/moc_mainwindow.cpp] Error 1 not found
Forum Updated to NodeBB v4.3 + New Features

[debug/moc_mainwindow.cpp] Error 1 not found

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Doggynub
    wrote on last edited by
    #1

    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 directory F:/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'@

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

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

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved