Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.3.0
-
None
-
macOS 10.12.5
Qt installed via the online installer and up to date.
Description
What I planned to do:
Configure Qt Creator to run a custom application that has the current project's application as parameter, such as startaut --cwd /blah /blah/bin/binary. I did that by adding a run configuration with a custom executable. The exact variables I used are these:
--cwd=%{buildDir} %{CurrentRun:Executable:FilePath}
Then, when trying to run that configuration, Qt Creator crashed. The run config was not yet saved at that point. If I make QtC save the config first, it also crashes when loading the project. I attached backtraces from both crashes.
- Removing the run configuration from the project's .pro.user file makes it load correctly again.
- I can reproduce the crash with the existing project in a fresh session.
- When using a different variable (such as DebuggedExecutable:FilePath) the crash doesn't occur.
A project with the crashing run config is attached. The application is an empty Qt console program.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-18317 MacroExpander goes into infinite loop when setting %{CurrentRun:Executable:Path} as RC's working directory
- Closed