Build Project - MinGW
Installation and Deployment
11
Posts
2
Posters
2.7k
Views
1
Watching
-
Hi, everyone. So, I have in a specific directory (C:\QtProjects\hello) the following files:
- Hello.cpp,
- hello.pro,
- Makefile,
- Makefile.Release,
- Makefile.Debug,
and the folders:
- debug,
- release
Inside this directory, how do I build the project using MinGW (which I have already installed)? Thanks in advance!
-
Hi and welcome to devnet,
Do you want to do it from the command line or are you using QtCreator ?
-
Then, call mingw32-make in the folder containing the Makefile
-
Did you generate the Makefiles or where they given to you ?
-
Beware that if you are installing several mingw versions on your computer, you might get into trouble.
The standard way is to install the mingw environment that comes with Qt.
Also, re-run qmake on your project