Project ERROR: Cannot run compiler 'g++'. Output:
-
@JKSH, apologies for the late reply.
In regard to your 2 suggestions:-
How do I run/test the MinGW 64-bit kit without running the Qt Creator?
-
I've downloaded & installed Qt Creator on another computer, and it worked without any problems there. This was done after the aforementioned problems started.
@joseph_ho said in Project ERROR: Cannot run compiler 'g++'. Output::
How do I run/test the MinGW 64-bit kit without running the Qt Creator?
In a terminal. Call
qmake.exe mingw32-make.exe
You can open a terminal using the shortcut created during Qt installation (doing so you make sure the environment is set up properly).
-
-
@joseph_ho said in Project ERROR: Cannot run compiler 'g++'. Output::
How do I run/test the MinGW 64-bit kit without running the Qt Creator?
In a terminal. Call
qmake.exe mingw32-make.exe
You can open a terminal using the shortcut created during Qt installation (doing so you make sure the environment is set up properly).
-
@jsulm Do you mean like this?
I've recently switched over to Qt Creator 4.8.2 (Enterprise) but still experiencing the same problems.
I'm starting to suspect there might be caused by some corrupted leftover files or registries.@joseph_ho You need to do these calls in your PROJECT directory...
-
@joseph_ho You need to do these calls in your PROJECT directory...
-
@joseph_ho Yes, but please use full paths to qmake and make.
Also, you should use the command prompt from MinGW (you will find it in Windows start menu). You then will have ready made environment where you can call wmake/make without using full path. -
@joseph_ho Yes, but please use full paths to qmake and make.
Also, you should use the command prompt from MinGW (you will find it in Windows start menu). You then will have ready made environment where you can call wmake/make without using full path. -
@joseph_ho said in Project ERROR: Cannot run compiler 'g++'. Output::
It is this, right?
Apparently not!
Why do you call make/qmake inside the MinGW installation directory?! We actually already clarified that.
You need to call it inside your project/build directory (from where you called qmake). -
@joseph_ho said in Project ERROR: Cannot run compiler 'g++'. Output::
It is this, right?
Apparently not!
Why do you call make/qmake inside the MinGW installation directory?! We actually already clarified that.
You need to call it inside your project/build directory (from where you called qmake). -
cd YOUR_PROJECT_DIR PATH_TO_YOUR_QMAKE/qmake.exe PATH_TO_YOUR_MAKE/mingw32-make.exe
-
cd YOUR_PROJECT_DIR PATH_TO_YOUR_QMAKE/qmake.exe PATH_TO_YOUR_MAKE/mingw32-make.exe
-
@joseph_ho You should use the command prompt from MinGW installation, then the environment will be setup and ready.