Adding the compilation of a non Qt application in the build chain.
-
Hello,
I do have a Qt based project composed by several Qt applications and Qt based librairies.
The are basically organized like this:
src - src.pro
src - apps - apps. pro
src - apps - app1 - app1.pro
src - apps - app2 - app2.pro
src - libs - libs.pro
src - libs - lib1 - lib1.pro
src - libs - lib2 - lib2.proThe src.pro, apps.pro, libs.pro files are describing the different build-chain dependencies.
Now I would like to add the build of a non Qt based application in the build chain - in my case a go application
src - src.pro
src - apps - apps. pro
src - apps - app1 - app1.pro
src - apps - app2 - app2.pro
src - backend - goapp
src - libs - libs.pro
src - libs - lib1 - lib1.pro
src - libs - lib2 - lib2.proIs there a possiblity to write a goapp.pro file (under src - backend - goapp - goapp.pro) to describe how this non Qt application can be compiled and added to the compilation chain?
-
Hello,
I do have a Qt based project composed by several Qt applications and Qt based librairies.
The are basically organized like this:
src - src.pro
src - apps - apps. pro
src - apps - app1 - app1.pro
src - apps - app2 - app2.pro
src - libs - libs.pro
src - libs - lib1 - lib1.pro
src - libs - lib2 - lib2.proThe src.pro, apps.pro, libs.pro files are describing the different build-chain dependencies.
Now I would like to add the build of a non Qt based application in the build chain - in my case a go application
src - src.pro
src - apps - apps. pro
src - apps - app1 - app1.pro
src - apps - app2 - app2.pro
src - backend - goapp
src - libs - libs.pro
src - libs - lib1 - lib1.pro
src - libs - lib2 - lib2.proIs there a possiblity to write a goapp.pro file (under src - backend - goapp - goapp.pro) to describe how this non Qt application can be compiled and added to the compilation chain?
Yes this should be possible - depending on how the app is compiled it should be more or less simple.
Take a look at QtCreators wizards: You can select File > New File or Project > Non-Qt Project and have Plain C and Plain C++ Application there. This might be a good start.