Qt Creator compilation error at 'make' stage

I just started using Qt Creator to create C ++ GUI programs. I just downloaded it and installed it, but the compilation process is causing errors. When I try to compile my project (very simple, just QLabel on the screen ... this is my first project), it comes up with an error:

qtcreator_ctrlc_stub: Command line error: C: \ Users \ Andrew \ Dropbox \ Programming \ C ++ \ Build-
FirstGUIApp-Desktop_Qt_5_1_1_MSVC2012_32bit-Debug \ Makefile 10:04:35: Process "C: \ Users \ Andrew \ Dropbox \ Programming \ C ++ \ built-in FirstGUIApp-Desktop_Qt_5_1_1_MSVC2012_32bit-Debug \ Makefile "with code -1. An error occurred while creating / deploying the FirstGUIApp project (bundle: Qt 5.1.1 desktop MSVC2012 32 bit) When executing the 'Make' step

I hunted for the answer here and here and a couple of others, but I just got confused about it. I have a couple of my own ideas, but I don’t know how to try my ideas. Here are some of my ideas:

1) MinGW is not in transit or not installed

But if this is not the way, how do I insert it? Where is it? I have Code Blocks installed by MinGW, so that I can use it there?

2) the makefile is somehow messed up

Again, what could be wrong and how can I fix it?

3) Qt Creator is not installed correctly.

Obviously reinstall it, but I want all the other parameters to be checked earlier, because it took me a lot of time to load.

I apologize if I'm voicing noobish or this is a stupid question, but I'm really confused with all of this. Please be patient with me and try to explain everything well and thoroughly. I am using Windows 8.1 and downloading the standalone installer. Thank you in advance.

UPDATE


Here is a screenshot of my Qt, how can I find out if this is a visual studio or a version of minGW? enter image description here

UPDATE


Here is my MinGW folder in CodeBlocks. Is this a compiler folder or is it something else?

enter image description here

+4
source share
3 answers

: 1: qtproject . qt qt C:\Qt\Qt5.1.1, minGW C:\Qt\Qt5.1.1\Tools\mingw48_32\bin\gcc.exe , . , QtCreator , , , qmake . Qmake .pro make , (gcc) minGW gcc make , .


, , ? --- > qtcreator --> Tools -> Build&Run -> Kits , , .

, Qt - , . " ". " " . , , "", "MinGW", C:\Qt\Qt5.1.1\Tools\mingw48_32\bin\gcc.exe . ABI .


: , , .pro, makefile qmake xx.pro. .pro qmake, .

+3
  • tools- > options- > build & run , minGW

    () , PATH minGW ( lib var, )

  • qmake

  • , , , Qt, minGW,

0

: ( Linux) sudo apt-get install build-essential cmake libqt4-dev

, , , Linux, .

0

All Articles