Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 15.0.1
-
None
Description
Setting CMAKE_TEST_LAUNCHER variable affects how Qt Creator runs and debugs all project executables, not just tests.
Just setting the variable prevents debugging main executable as Qt Creator attempts to launch everything through a custom launcher.
Steps to reproduce
- Open and configure the CMakeLists.txt project for Debug
- Start debugging of Startup Project
Expected
Application starts and remains running
Actual
Debugger launches the test runner instead and immediately quits (note that it even does not matter if the launcher script exists).
15:03:57: Debugging /Users/user/sandbox/test_runner_example/test_runner.sh /Users/user/sandbox/test_runner_example/build/Qt_6_2_12_for_macOS-Debug/TestRunnerExample ... 15:03:58: Debugging of /Users/user/sandbox/test_runner_example/test_runner.sh /Users/user/sandbox/test_runner_example/build/Qt_6_2_12_for_macOS-Debug/TestRunnerExample has finished.