Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. settings not being saved between sessions
Qt 6.11 is out! See what's new in the release blog

settings not being saved between sessions

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 3 Posters 7.7k Views 1 Watching
  • 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.
  • R Rlkcpo

    I should have posted this to begin with:

    Qt Creator 4.5.0
    Ubuntu 16.04

    I don't think its a write access issue the files all show writable. The problem just started this morning. I installed Qt 2 days ago and for the last two days it seemed just fine. Worked beautifully. However this morning I stared Qt and had to point it to my project.

    I do get an error message that may help:

    "No .user settings file created by this instance of Qt Creator was found. Did you work with this project on another machine or using a different settings path before?" - No

    "Do you still want to load the settings file '<path to my .user file>'?" - Yes

    Though selecting "Yes" doesn't seem to actually load my settings file (or the correct Project for that matter).

    raven-worxR Offline
    raven-worxR Offline
    raven-worx
    Moderators
    wrote on last edited by
    #6

    @Rlkcpo
    so did you upgrade QtCreator then?

    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
    If you have a question please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rlkcpo
      wrote on last edited by
      #7

      Upgrade it? No its this not the latest version? I used the website and the online installer. Is there an updated version of Qt Creator beyond 4.5.0?

      DiracsbracketD raven-worxR 2 Replies Last reply
      0
      • R Rlkcpo

        Upgrade it? No its this not the latest version? I used the website and the online installer. Is there an updated version of Qt Creator beyond 4.5.0?

        DiracsbracketD Offline
        DiracsbracketD Offline
        Diracsbracket
        wrote on last edited by Diracsbracket
        #8

        @Rlkcpo
        Latest version is 5.10. I myself use the latest release of version 5.9, i.e. 5.9.4

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rlkcpo
          wrote on last edited by
          #9

          Correct the latest version of the Qt framework is 5.10(which I have)- Im talking about Qt Creator (the IDE)

          1 Reply Last reply
          0
          • R Rlkcpo

            Upgrade it? No its this not the latest version? I used the website and the online installer. Is there an updated version of Qt Creator beyond 4.5.0?

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by raven-worx
            #10

            @Rlkcpo said in settings not being saved between sessions:

            Is there an updated version of Qt Creator beyond 4.5.0?

            no, 4.5.0 is the latest.
            I was rather asking if you upgraded to version 4.5.0 and created your projects with a different version of QtCreator.

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rlkcpo
              wrote on last edited by
              #11

              No I am evaluating Qt right now so everything I have is new as of 2 days ago. No other versions of Qt are installed or have been installed on this machine.

              raven-worxR 1 Reply Last reply
              0
              • R Rlkcpo

                No I am evaluating Qt right now so everything I have is new as of 2 days ago. No other versions of Qt are installed or have been installed on this machine.

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #12

                @Rlkcpo
                anyways, the error No .user settings file created by this instance of Qt Creator was found.
                suggests differently.

                What are the contents of the first few lines of your project's .pro.user file.

                The .pro.user file should begin with something like:

                <?xml version="1.0" encoding="UTF-8"?>
                <!DOCTYPE QtCreatorProject>
                <!-- Written by QtCreator 4.5.0, 2018-01-26T09:52:02. -->
                <qtcreator>
                 <data>
                  <variable>EnvironmentId</variable>
                  <value type="QByteArray">{3984cf51-.....-4598d1289b66}</value>
                 </data>
                ....
                

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Rlkcpo
                  wrote on last edited by
                  #13

                  <?xml version="1.0" encoding="UTF-8"?>
                  <!DOCTYPE QtCreatorProject>
                  <!-- Written by QtCreator 4.5.0, 2018-01-26T09:21:55. -->
                  <qtcreator>
                  <data>
                  <variable>EnvironmentId</variable>
                  <value type="QByteArray">{316471a3-f154-424b-981f-dcbbc2d6adf8}</value>
                  </data>
                  <data>
                  <variable>ProjectExplorer.Project.ActiveTarget</variable>
                  <value type="int">0</value>
                  </data>
                  <data>
                  <variable>ProjectExplorer.Project.EditorSettings</variable>
                  <valuemap type="QVariantMap">
                  <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
                  <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
                  <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
                  <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
                  <value type="QString" key="language">Cpp</value>
                  <valuemap type="QVariantMap" key="value">
                  <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
                  </valuemap>
                  </valuemap>

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rlkcpo
                    wrote on last edited by
                    #14

                    Update*

                    I have uninstalled, reinstalled, and am still seeing the same problems. Does the maintenance tool not completely remove the program?

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rlkcpo
                      wrote on last edited by
                      #15

                      So it turns out the problem files were located in the ~/.config directory. I deleted everything Qt related in that directory, did a clean reinstall and the problem vanished.

                      1 Reply Last reply
                      2

                      • Login

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