Multiple executables in Qt Creator
-
wrote on 10 Mar 2022, 15:01 last edited by
Hello everyone!
I have the following question: is it possible to run multiple executables from the Qt Creator? I have the cmake project that contains two subdirectories projects (e.g. server and client which are obviously different applications). I want to click Run button and run server and client executables appropriately. In the Run Settings I can chose Run configuration, but the choice is not suitable for me: I can set server or client. So is it possible to run two executables simultaneously or maybe another workaround can be used?
-
In Projects view, right click on subproject you want to run and click "Run". Then repeat this for your other subproject.
-
In Projects view, right click on subproject you want to run and click "Run". Then repeat this for your other subproject.
wrote on 11 Mar 2022, 09:58 last edited by@sierdzio Thank you for the answer!
I wondered about the running in one click, but your approach is ok as well, but...
I have no such option in right-click context menu (Qt Creator 7.0.0-beta2, 6.83.0). Looks lit this option is available for the qmake-based project and subproject. In my case cmake projects can not be run through this menu.
1/3