Compilation Process in Qt Creator using command prompt.
-
wrote on 15 Sept 2022, 07:14 last edited by
Hi, I am trying to run my qt project(Qt creator IDE ) on my windows system using command prompt. I want to run my project using command line execution to understand the qt compilation process.
I have tried running my project, .pro file using qmake, so makefile and stash files are generated.
but, I am failing to run next command, the following attached screenshot to generate build path and how executables are generated.I have my projects in E drive and I am running them in the same directory and I am able to get the make and stash file, then later for the second step of process to give myClass.Debug file to the compiler so I am trying to run them on mingw, C path directory providing my debug file path and running qmake.
-
Hi, I am trying to run my qt project(Qt creator IDE ) on my windows system using command prompt. I want to run my project using command line execution to understand the qt compilation process.
I have tried running my project, .pro file using qmake, so makefile and stash files are generated.
but, I am failing to run next command, the following attached screenshot to generate build path and how executables are generated.I have my projects in E drive and I am running them in the same directory and I am able to get the make and stash file, then later for the second step of process to give myClass.Debug file to the compiler so I am trying to run them on mingw, C path directory providing my debug file path and running qmake.
@Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense.
Also, on windows you need to add .exe suffix to make. -
@Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense.
Also, on windows you need to add .exe suffix to make.wrote on 22 Sept 2022, 08:05 last edited by@jsulm said in Compilation Process in Qt Creator using command prompt.:
@Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense.
Also, on windows you need to add .exe suffix to make.Thanks a lot for your advice
1/3