Unsolved Running two applications in the same Qt Creator instance
I am developing two apps that interact with each other over network.
They belong to the same subdirs project and I used to run them from the same instance of Qt Creator without any problems. E.g. I used the following usecases:
Run 1st app, then run 2nd app and see how they work
Debug 1st app, then run 2nd app
Debug 2nd app, then run 1st app
All three cases worked just fine in all versions of Creator I've ever worked with.
But in the Qt Creator 3.6.0 I see a different behaviour: the 1st app is immediately closed when I start the 2nd app. This is really inconvenient, is it a bug in Qt Creator?
Let me show on a simple example:
My simple sample project with two apps
When I am debugging the 1st app and press Run for 2nd app Qt Creator briefly shows this window, then 1st app is closed and 2nd is launched.
Is there a way to fix this? It used to work! Please help)
That's a new feature in Qt Creator 3.6. Go to the Build & Run panel in Qt Creator's preferences, then in General you have a combo box beside "Stop applications before building". You can change there the behavior of that feature.
@SGaist oh thank you very much! This thing was driving me mad, I never even thought that can be a new feature. Should've checked the settings myself though...
Thanks again, your solution totally works!
I also posted this on SO: http://stackoverflow.com/questions/35002024/running-two-applications-in-qtcreator-3-6
Will be happy if you post your solution there! Or if you don't want to, I'll do it myself. I guess this can help other people as well :)
You're welcome !
Since you can run your two applications again, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)