Home > Back-end >  The Error 4 Qt compiler Error [copyResource]
The Error 4 Qt compiler Error [copyResource]

Time:09-18

Qt compiler output as follows, and support a move, thank you very much!



17:31:27: simple - project implementation steps for program...
17:31:27: configuration has not changed, skip qmake steps,
17:31:27: starting "C: \ Qt \ Qt5.10.0 \ Tools \ mingw530_32 \ bin \ mingw32 - make. Exe"

C:/Qt/Qt5.10.0/Tools/mingw530_32/bin/mingw32 - the make -f Makefile. Debug
Mingw32 - make [1] : if the directory 'D:/Cpp_programme/build - simple - project - Desktop_Qt_5_10_0_MinGW_32bit - Debug'
Xcopy "D: \ Cpp_programme \ simple - project \ res" "D: \ Cpp_programme \ build - simple - project - Desktop_Qt_5_10_0_MinGW_32bit - Debug"/e/y
Invalid number of parameters of the
Makefile. Debug: 252: a recipe for target 'copyResources failed
Mingw32 - make [1] : brigade directory 'D:/Cpp_programme/build - simple - project - Desktop_Qt_5_10_0_MinGW_32bit - Debug'
Mingw32 - make [1] : [copyResources] Error 4 * * *
The Makefile: 36: the recipe for target 'debug' failed
Mingw32 - make: * * */debug Error 2
17:31:29: process "C: \ Qt \ Qt5.10.0 \ Tools \ mingw530_32 \ bin \ mingw32 - make. Exe" quit, exit code 2,
Error while building/deploying project simple - project (kit: Desktop Qt 5.10.0 MinGW 32 bit)
The When executing step "Make"
17:31:29: Elapsed time: 00:02.

CodePudding user response:

Whether projects have copyResources this function, if you have check its parameters, if useless to this function, you should is a project management tool called function automatically, may project is the old version, to import the file for the current version of the project should be able to solve,
  • Related