[Makefile:204: Makefile] Error 2
-
Following is the output of the error -
18:29:31: Running steps for project BCSEIII...
18:29:31: Configuration unchanged, skipping qmake step.
18:29:31: Starting: "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -j8
C:/Qt/6.1.3/mingw81_64/bin/qmake.exe -o Makefile "../templateProgram.rar (Unzipped Files)/BCSEIII.pro" -spec win32-g++ CONFIG+=debug CONFIG+=qml_debug
Cannot find file: ..\templateProgram.rar.
Cannot find file: (Unzipped.
Cannot find file: Files)\BCSEIII.pro.
mingw32-make: *** [Makefile:204: Makefile] Error 2
18:29:32: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project BCSEIII (kit: Desktop Qt 6.1.3 MinGW 64-bit)
When executing step "Make"
18:29:32: Elapsed time: 00:01.Here is the code of .pro file -
#-------------------------------------------------
Project created by QtCreator 2018-07-19T19:54:40
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = BCSEIII
TEMPLATE = appThe following define makes your compiler emit warnings if you use
any feature of Qt which has been marked as deprecated (the exact warnings
depend on your compiler). Please consult the documentation of the
deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
You can also make your code fail to compile if you use deprecated APIs.
In order to do so, uncomment the following line.
You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES +=
main.cpp
mainwindow.cpp
my_label.cppHEADERS +=
mainwindow.h
my_label.hFORMS +=
mainwindow.uiI am using qt 6 in windows 10.
How can i fix the error?
-
@Wreet said in [Makefile:204: Makefile] Error 2:
../templateProgram.rar (Unzipped Files)/BCSEIII.pro"
Put your project in a folder without spaces