[Interest] Qt Creator: specify default project to run in .pro file?
Mitch Curtis
mitch.curtis at qt.io
Mon Sep 30 09:42:40 CEST 2019
> -----Original Message-----
> From: Interest <interest-bounces at qt-project.org> On Behalf Of Alexander
> Dyagilev
> Sent: Monday, 30 September 2019 5:18 AM
> To: Qt Project <interest at qt-project.org>
> Subject: [Interest] Qt Creator: specify default project to run in .pro file?
>
> Hello,
>
> My project contains several executable projects. One of them is main GUI
> application and I want it to be set as to run by default. Now Qt Creator by
> default assigns another one and I have to switch to main GUI project
> manually for every new platform / new solution load.
>
> Is it possible?
You could try putting
CONFIG += qtc_runnable
in the project that you want to run by default.
https://doc.qt.io/qtcreator/creator-run-settings.html#creating-run-configurations-for-subprojects
I seem to remember that working, but the after reading the description in the docs, I'm not so sure.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
More information about the Interest
mailing list