How do I tell Qt Creator which subproject is the "main" one?
-
A few days ago, I wrote a small, experimental application with Qt4.
Today, I created a new, larger ("subdirs"-based) project and "imported" the older, smaller project into the new one as a subproject.
The problem is that the older, smaller project still has its main() function (because I still need it for my hacking...) and Qt Creator keeps on launching it instead of the top-level application.How can I tell to Qt Creator which one of the subprojects is the "main" one and have to be launched when building/testing the whole application?
-
Hi,
Clicking on the "device" icon above the green Run arrow allows you to select what you want to run.
"device" changing from computer to something else depending on what you are building for.
-
Yes, that one. The content will changed depending on your project.