Error while building project



  • I am using Qt 5.5.1 and am trying to run a simple Qt Widget application. But following error appears while building project. Please help, how can this be fixed.
    18:49:33: Running steps for project Notepad...
    18:49:33: Starting: "C:\Qt\5.5\mingw492_32\bin\qmake.exe" C:\Qt\workspace\Notepad\Notepad.pro -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    18:49:34: The process "C:\Qt\5.5\mingw492_32\bin\qmake.exe" exited normally.
    18:49:34: Starting: "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe"
    C:/Qt/Tools/mingw492_32/bin/mingw32-make -f Makefile.Debug
    /usr/bin/sh: -c: line 0: syntax error near unexpected token (' /usr/bin/sh: -c: line 0:C:/Qt/Tools/mingw492_32/bin/mingw32-make -f Makefile.Debug'
    makefile:34: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 258
    18:49:35: The process "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project Notepad (kit: Desktop Qt 5.5.1 MinGW 32bit)
    When executing step "Make"
    18:49:35: Elapsed time: 00:02.


  • Moderators

    Can you post the content of the Makefile.Debug file?


Log in to reply
 

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