Details
-
Suggestion
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 4.14.2
-
None
Description
DESCRIPTION
Qt Creator doesn’t seem to be using Relative paths.
I am on Kubuntu 20.10.
I have Qt Creator 4.14.2, it says based on Qt 5.15.2 (GCC 7.3.1 20180303 (Red Hat 7.3.1-5), 64 bit)
My account is in
/home/john
and my projects are in
/home/john/qt-workspace/MyProject
In my project, on the left side, I click on the Projects button. It has a wrench icon on it.
The build directory is
/home/john/qt-workspace/MyProject/build-MyProject-Desktop_Qt_5_9_9_GCC_64bit-Debug
Then, I copied the MyProjects folder to my other profile = Jake
/home/jake
When I open Qt Creator, when I open my project
The build directory is still
/home/john/qt-workspace/MyProject/build-MyProject-Desktop_Qt_5_9_9_GCC_64bit-Debug
^^^^^Notice the john
This is bad.
The issue is in file
MyProject.pro.user
it has lines such as
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/john/qt-workspace/MyProject/build-MyProject-Desktop_Qt_5_9_9_GCC_64bit-Debug</value>
and a few other lines, all of them are using full paths.
Deleting the file
MyProject.pro.user
and opening the Project brings other minor issues that I don’t like.
The PRO FILE?
I looked at the MyProject.pro file. It is using relative paths. <====That is good. That is very very good.