Compile my Qt project in Windows
-
Hi guys,
I created a Qt Designer Form named Hello and added a main.cpp file containing a code to it. Then I went to the folder containing those flies (.ui and .cpp) by a command prompt:
cd C:\Users\CS\Documents\Qt\Forms\Hellothen I typed:
C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\qmake -projectThe .pro files created.
My reference says that I then should type:qmake hello.pro, so I typed:
C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\qmake hello.proUntil now everything fine.
Then the reference says that I should type make to build the program. An then Run it by typing hello on Windows!
I tried this: C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\make
The command prompt said:
'make' is not recognized as an internal or external command,
operable program or batch file.Now my questions are:
Where to type that make to be right?
And then how to run that program please? -
On Windows with MinGW the name of make command is: mingw32-make.exe
-
@tomy Did you realize that you are looking in the wrong directory? MinGW is in c:\Qt\Tools\mingw492_32\bin!
You should be more proactive and look by yourself instead of asking for exact answers. You can search in Windows-Explorer for*make*.exe
On my machine I get 4 hits one of them is mingw32-make.exe