[SOLVED] Import / Export Qt Creator Settings
-
Hi,
I want to export my (IDE) settings (but no compiler settings) of QtCreator so that I don't have to configure everything all over again when I reinstall it or use it on another machine. Is there really no option to achieve this and if so: why?
EDIT: I figured out in the meantime that there is a
.pro.user
-file for each project which stores some settings but unfortunately also compile settings. Isn't there any global settings configuration file?
EDIT 2: Is there more information about the.pro.shared
-file? What variable names are allowed, explanations ...Thanks,
Marcel.
-
In windows there are the global settings for Qt Creator under c:\Users<user name>\AppData\Roaming\QtProject found.
.pro.user are AFAIK mainly the actual compile settings added, but basic information is created from .pro your project file.
.pro.shared I have never seen so far. However, I am still using an older Qt creator version. -
Hi,
thanks for your answer. I've seen this one. Isn't there a proper documentation from the Qt-side?
Maybe another question: Are all current IDE settings saved in the.pro.user
-file? -
What Qt side ?
That's a Qt Creator feature unrelated to Qt itself.
AFAIK, the settings saved concerns the current project.
You can also check on the Qt Creator mailing list. You'll find there Qt Creator's developers/maintainers. This forum is more user oriented.
-
By Qt-Side I mean the developers of Qt Creator. This was maybe a little ambiguous.
So you mean by
AFAIK, the settings saved concerns the current project.
that only project settings will be saved or global IDE settings as well?
Thanks for the hint to the mailing list.
-
Which OS are you using?
For windows Qt creator settings are found here
@koahnig said:
In windows there are the global settings for Qt Creator under c:\Users<user name>\AppData\Roaming\QtProject found.
.pro.user are AFAIK mainly the actual compile settings added, but basic information is created from .pro your project file.
.pro.shared I have never seen so far. However, I am still using an older Qt creator version. -
I am using Windows 7 and Ubuntu 16.04 .
I am guessing theQtCreator.ini
-file is the one which contains all the settings (please correct me if I am wrong). The problem here seems that absolute paths are used so it probably would crash Qt Creator if I just copy and paste it. Any ideas?I just wonder why does not someone else have the same desire to export the IDE settings.
The path for Ubuntu seems to be :
/home/<username>/.config/QtProject/
-
@holzkohlengrill said:
I am using Windows 7 and Ubuntu 16.04 .
I am guessing theQtCreator.ini
-file is the one which contains all the settings (please correct me if I am wrong).Most of the settings you are correct. However, you might want to check also the xmls in the subfolder.
The problem here seems that absolute paths are used so it probably would crash Qt Creator if I just copy and paste it. Any ideas?
Besides writing your own app, no.
I just wonder why does not someone else have the same desire to export the IDE settings.
Probably is the forum the wrong place. You may want to check on the development mailing list.