Compile a Qt project running time
-
wrote on 23 May 2016, 09:23 last edited by
Hello guys!
I'm developing an application powered by Qt which has "Exporting" feature.
For example, the user make his project in my application and the application save all settings and stuffs as a Qt project (has .pro file, headers, .cpp and etc.).
After that application needs to compile the project. So, how to do that?! :D -
Hello guys!
I'm developing an application powered by Qt which has "Exporting" feature.
For example, the user make his project in my application and the application save all settings and stuffs as a Qt project (has .pro file, headers, .cpp and etc.).
After that application needs to compile the project. So, how to do that?! :Dwrote on 23 May 2016, 09:27 last edited by@AliReza-Beytari Hi! Run qmake and make.
-
@AliReza-Beytari Hi! Run qmake and make.
wrote on 23 May 2016, 09:35 last edited by@Wieland What if user's system doesn't have qmake or make or even C++ compiler?!
-
@Wieland What if user's system doesn't have qmake or make or even C++ compiler?!
wrote on 23 May 2016, 09:37 last edited by@AliReza-Beytari Without a compiler you can't compile anything. And without a build system calling the compiler on any non-trivial project will become really complex.
-
@AliReza-Beytari Without a compiler you can't compile anything. And without a build system calling the compiler on any non-trivial project will become really complex.
@Wieland
Well, if you're feeling adventurous you could in principle try implementing your own compiler ... in the end, it only takes a few decades to make it good. :) -
@AliReza-Beytari Without a compiler you can't compile anything. And without a build system calling the compiler on any non-trivial project will become really complex.
wrote on 25 May 2016, 05:42 last edited by@Wieland Is there any way to link the C++ Compiler and qmake to my application?!
-
@Wieland Is there any way to link the C++ Compiler and qmake to my application?!
wrote on 25 May 2016, 06:10 last edited by@AliReza-Beytari No, but you can bundle your application with other stuff (e.g. gcc, qmake et. al.) in one installer.
3/7