[SOLVED] Import / Export Qt Creator Settings
-
wrote on 9 Jun 2016, 13:38 last edited by holzkohlengrill 6 Oct 2016, 13:12
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.
-
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.
wrote on 9 Jun 2016, 15:15 last edited byIn 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,
There is a small explanation here. Basically your .pro.shared file can contain the same stuff as your .pro.user files.
-
wrote on 10 Jun 2016, 08:06 last edited by holzkohlengrill 6 Oct 2016, 08:08
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.
-
wrote on 10 Jun 2016, 08:22 last edited by
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.
-
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.
wrote on 10 Jun 2016, 08:42 last edited byWhich 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. -
wrote on 10 Jun 2016, 09:19 last edited by
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/
-
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/
wrote on 10 Jun 2016, 10:07 last edited by koahnig 6 Oct 2016, 10:07@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.
8/9