Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.13.0
-
None
-
-
364288b79cfb27f4bea9a7a41b785660fb8d0dde (qt-creator/qt-creator/4.13)
Description
Steps to reproduce:
- Step #1: Start QtCreator and create a Python Project
-> Runtime Configuration shows the correct working directory
- Step #2: Close & reopen QtCreator
-> Runtime configuration shows an empty workdir path (referenced files are not found at runtime)
-> stderr output:file:///home/<user>/MyFile.qml: No such file or directory
The *.user file contains the following:
<value type="QString" key="RunConfiguration.WorkingDirectory"></value> <value type="QString" key="RunConfiguration.WorkingDirectory.default">/path/to/workdir</value>
After restarting QtCreator the working directory in RunConfiguration appears empty
After setting the path explicitly in the QtCreator runtime configuration the error no longer occurs.
The *.users file now contains the following:
<value type="QString" key="RunConfiguration.WorkingDirectory">/path/to/workdir</value> <value type="QString" key="RunConfiguration.WorkingDirectory.default"></value>
FYI: By deleting the *.user file the process is repeatable/reproducible.