Qt - Error 2 at compile time

前端 未结 5 2063
时光取名叫无心
时光取名叫无心 2020-12-11 16:59

I just downloaded Qt SDK 4.8.1 and, after installing it, I simply tried to compile a default C++ project, but I got this strange error.

16:50:24: Runn

5条回答
  •  情话喂你
    2020-12-11 17:47

    I had somewhat similar problem in Qt 5.3

    21:22:03: Running steps for project Server...
    21:22:03: Configuration unchanged, skipping qmake step.
    21:22:03: Starting: "C:\Qt\Qt5.3.2\Tools\mingw482_32\bin\mingw32-make.exe" 
    C:\make\bin; -f Makefile.Debug
    Makefile:34: recipe for target 'debug' failed
    process_begin: CreateProcess(NULL, C:\make\bin; -f Makefile.Debug, ...) failed.
    make (e=2): The system cannot find the file specified.
    
    mingw32-make: *** [debug] Error 2
    21:22:05: The process "C:\Qt\Qt5.3.2\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project Server (kit: Desktop Qt 5.3 MinGW 32bit)
    When executing step "Make"
    

    I did the following to get rid of the error.
    From the left pane of the Qt,

    Projects > Build > Build Environment:
    
    Check the Clear System environment
    

提交回复
热议问题