How to start multiple project?
-
Hello QDevnet,
I have a project which has a two subdirectory project, qt console application. But, when I run the top project, only one project is running. How can I solve this issue?
My top project ".pro" file:
TEMPLATE = subdirs SUBDIRS += \ FirstProject \ SecondProject
My project looks like:
Thanks,
-
I think that you can not run your two projects by selecting top project,
But you can switch between first/second project by clicking in
kit selector
:and selecting FirstProject\SecondProject and run again
Hope this can help you !
-
I think that you can not run your two projects by selecting top project,
But you can switch between first/second project by clicking in
kit selector
:and selecting FirstProject\SecondProject and run again
Hope this can help you !
@mostefa But I have a network structure and two project communicates each other. My aim is when I run the project, two project should be run. At visual studio I can do it like this:
-
Hi,
AFAIK, it's currently not possible. You should check the bug report system to see if there's anything related to that on the Qt Creator project,
-
Does dependencies between "projects" work for you?
Is it one of your "projects" behave like a library?
Thank you
-
Does dependencies between "projects" work for you?
Is it one of your "projects" behave like a library?
Thank you
@Charlie_Hdz No, he has 2 executables and want that both are started when he clicks on Run button.
-
Yes, @jsulm is right.