Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 16.0.0
-
None
-
5537a102e (16.0)
Description
Documentations says thatÂ
set_target_properties(main_executable PROPERTIES FOLDER "qtc_runnable")
can be used to set the main executable, but that does not work
if the target is not an executable but rather a target with a shell COMMAND.
The use case is that I'm developing a Qt Plugin that is run by an external application, imagine creating a plugin for QtCreator, so you add_custom_target(run_qtcreator COMMAND qtcreator --plugin <TARGET_FILE:my_qtc_plugin> ....)
Now it would be really nice to have CTRL + R run it, but as of now I need to add the custom executable myself which is a pain because if I chose another Qt KIT I need to add that again, whereas in CMake that would be permanent.
Can you extend this feature?