Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. "configure project" required after update/upgrade/different pc???
Forum Updated to NodeBB v4.3 + New Features

"configure project" required after update/upgrade/different pc???

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 1.8k 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 Offline
    R Offline
    rosetter
    wrote on last edited by
    #1

    It seems that every time I update/upgrade creator I have to re-configure all my projects. This is very annoying to say the least, as I have a bunch of build options defined.

    I also tend to mirror the project directory structure on multiple pcs to develop on multiple platforms. I figured out that checking in the .user file to source control is a bad idea, but every once in a while they still seem to conflict.

    What triggers the "configure project" requirement? Is it only some change in the .user file? Are .user files not compatible across versions of creator?

    Thanks for any suggestions...
    Tyler

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      .pro.user file stores the project configuration in Qt Creator: on that particular PC and OS, and Qt Creator version. So you should never copy that file to other OSes or PCs. They also tend to be incompatible between Qt Creator versions. If you remove some Kits, Qt versions or compilers, the file will become invalid, too (because it will point to invalid project configuration that uses - for example - a version of Qt that no longer exists).

      So there are a lot of things that can render those files invalid and thus trigger reconfiguration. Another option is that you are running something like git clean -dxf occasionally, and it deletes the .pro.user file - again, triggering the reconfiguration.

      To make it easier for you, you can create (and add to source control) a file named .pro.share. "Here is how":http://qt-project.org/doc/qtcreator-3.2/creator-sharing-project-settings.html.

      (Z(:^

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rosetter
        wrote on last edited by
        #3

        Hi,

        [quote author="sierdzio" date="1411375951"]To make it easier for you, you can create (and add to source control) a file named .pro.share. "Here is how":http://qt-project.org/doc/qtcreator-3.2/creator-sharing-project-settings.html.[/quote]

        Thanks for the link!

        I didn't know about .share files. I hesitate to call them a solution, but they're certainly relevant.

        It seems that both my preference for auto-indent and build flags for each build config are stored together in a single file. If I happen to open a project with a different version of creator, then I have to re-enter all build settings because one or two xml entries have changed.

        That's... unique.

        The solution is to copy and paste GUI settings stored in XML format into another file? And remember to do so every time I change them?

        Clearly Creator still has a few ... challenges ... left.

        This is what I'll do for now: when prompted to reconfigure, save all the current .user files, let Creator wipe out all my settings, then do a file diff on the old and "updated" .user files. This time it was pretty easy to pick out which settings I had made that should be restored.

        I'm no fan of XML, but surely the current way of doing things keeps the ugly xml syntax while forfeiting nearly all of the advantages.

        But now I'm just ranting. Sorry.

        Thanks again for the suggestion! :)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          You can raise the topic on Qt Creator mailing list. This is known to be suboptimal.

          (Z(:^

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rosetter
            wrote on last edited by
            #5

            [quote author="sierdzio" date="1411386146"]This is known to be suboptimal.[/quote]

            Awesome.

            1 Reply Last reply
            0

            • Login

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