Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Import / Export Qt Creator Settings

[SOLVED] Import / Export Qt Creator Settings

Scheduled Pinned Locked Moved Solved Installation and Deployment
qtcreatorsettings
9 Posts 3 Posters 16.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    holzkohlengrill
    wrote on 9 Jun 2016, 13:38 last edited by holzkohlengrill 6 Oct 2016, 13:12
    #1

    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.

    K 1 Reply Last reply 9 Jun 2016, 15:15
    0
    • H holzkohlengrill
      9 Jun 2016, 13:38

      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.

      K Offline
      K Offline
      koahnig
      wrote on 9 Jun 2016, 15:15 last edited by
      #2

      @holzkohlengrill

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 9 Jun 2016, 21:46 last edited by
        #3

        Hi,

        There is a small explanation here. Basically your .pro.shared file can contain the same stuff as your .pro.user files.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • H Offline
          H Offline
          holzkohlengrill
          wrote on 10 Jun 2016, 08:06 last edited by holzkohlengrill 6 Oct 2016, 08:08
          #4

          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?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 10 Jun 2016, 08:11 last edited by
            #5

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • H Offline
              H Offline
              holzkohlengrill
              wrote on 10 Jun 2016, 08:22 last edited by
              #6

              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.

              K 1 Reply Last reply 10 Jun 2016, 08:42
              0
              • H holzkohlengrill
                10 Jun 2016, 08:22

                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.

                K Offline
                K Offline
                koahnig
                wrote on 10 Jun 2016, 08:42 last edited by
                #7

                @holzkohlengrill

                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.

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  holzkohlengrill
                  wrote on 10 Jun 2016, 09:19 last edited by
                  #8

                  I am using Windows 7 and Ubuntu 16.04 .
                  I am guessing the QtCreator.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/

                  K 1 Reply Last reply 10 Jun 2016, 10:07
                  0
                  • H holzkohlengrill
                    10 Jun 2016, 09:19

                    I am using Windows 7 and Ubuntu 16.04 .
                    I am guessing the QtCreator.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/

                    K Offline
                    K Offline
                    koahnig
                    wrote on 10 Jun 2016, 10:07 last edited by koahnig 6 Oct 2016, 10:07
                    #9

                    @holzkohlengrill said:

                    I am using Windows 7 and Ubuntu 16.04 .
                    I am guessing the QtCreator.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.

                    Vote the answer(s) that helped you to solve your issue(s)

                    1 Reply Last reply
                    0

                    1/9

                    9 Jun 2016, 13:38

                    • Login

                    • Login or register to search.
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved