QT Creator: hotkeys to set active project in the workspace
-
I have 2 projects in the workspace and I need to switch between them for build and run operations to debug simultaneously both projects(they are front/back-ends). The one method I know is changing active project by mouse click in a context menu.
Not critical indeed but quite annoying and I strongly believe that there is another way to achieve the same: quick way to build(and run a debug ) non-active project via hotkeys or locator(cmd+k).
Thank you in advance.
-
I have 2 projects in the workspace and I need to switch between them for build and run operations to debug simultaneously both projects(they are front/back-ends). The one method I know is changing active project by mouse click in a context menu.
Not critical indeed but quite annoying and I strongly believe that there is another way to achieve the same: quick way to build(and run a debug ) non-active project via hotkeys or locator(cmd+k).
Thank you in advance.
hi @danilabagroff and welcome
well,
the only way I know of, is usingstrg + t
(cmd + t on Mac) to open the selection, and you can than select with the arrow keys your target project -
Thank you very much!
This is pretty close to... but still required mouseclicks. If one is already running(and under debug) after changing deploy profile (via cmd+t I) still need to changeDebugger preset
, otherwise I'm only allowed to pause the current debug rather than run a new one.At least this is something better than before, thank you again ;)
-
I know this is an old thread, but someone might find this helpful:
(Qt Creator 17 on Mac)- Press Cmd+T for the selection dialog.
- Once it pops up, hold Cmd and press T to cycle through your open projects.
- Release Cmd and the selected project is activated and the dialog disappears.
Note: The dialog has three columns Project, Deploy, Run. For the above to work the column Project has to be active (dark selection field there). It looks like that each time you start Qt Creator the active column will be Deploy.
In that case just click once a project name or use arrow keys to activate the Project column, and from that time it should work again (until you quit Qt Creator).