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. Trying to import qt creator project from previous version?
Forum Updated to NodeBB v4.3 + New Features

Trying to import qt creator project from previous version?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
14 Posts 3 Posters 5.9k Views 2 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.
  • M Offline
    M Offline
    mchinand
    wrote on last edited by
    #5

    I don't think the .pro.user file is very portable from one computer to another. A new one will be created when you open your project in QtCreator. I never include the .pro.user file in a version control repository.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mysteriousman
      wrote on last edited by
      #6

      Gotcha. So should I just delete it? Is there another way to import the project?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mchinand
        wrote on last edited by
        #7

        The .pro file has all the info about the project that you really need.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mysteriousman
          wrote on last edited by
          #8

          Good to hear. That being said, I tried removing the .pro.user file, and re-importing, but get the same error.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mchinand
            wrote on last edited by
            #9

            Can you post all of the error output text?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mysteriousman
              wrote on last edited by
              #10

              Full error: "No valid settings file could be found.

              All settings files found in directory ".<my path>" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used."

              <my path> is just a specific path on my system, that corresponds to the directory that contains the .pro file that I tried to import, and used to contain the .pro.user file we are talking about.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mchinand
                wrote on last edited by
                #11

                What are all of the non-source (.h, .cpp) files in that directory?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mysteriousman
                  wrote on last edited by
                  #12

                  31516e2a-5157-40c8-a141-6b0451fb2afa-image.png They're almost all not cpp files, and there's a ton of them. I'm not sure what's important, so here's a screenshot. The jpg's and png's are just for the GUI itself, so don't worry about them.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mchinand
                    wrote on last edited by mchinand
                    #13

                    I would get rid of (either delete or move out/zip them) all the snakehead.pro.* files (everything except 'snakehead.pro')

                    1 Reply Last reply
                    2
                    • M Offline
                      M Offline
                      mysteriousman
                      wrote on last edited by
                      #14

                      This worked, thanks! I guess it was trying (and failing) to import both the .pro.user file, and the backup ones. Removing them all fixed the import.

                      1 Reply Last reply
                      1

                      • Login

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