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. [Solved .. kindof ..] Issues opening 4.6.3 Project from Creator 2.4.1 in latest Qt5 creator
Qt 6.11 is out! See what's new in the release blog

[Solved .. kindof ..] Issues opening 4.6.3 Project from Creator 2.4.1 in latest Qt5 creator

Scheduled Pinned Locked Moved Qt Creator and other tools
12 Posts 3 Posters 5.1k 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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #2

    Lockup might be a bug, but in general .pro.user files should never be reused. They are installation-specific and can change significantly between Qt Creator releases. Delete the .user file and reopen your project.

    (Z(:^

    1 Reply Last reply
    0
    • McLionM Offline
      McLionM Offline
      McLion
      wrote on last edited by
      #3

      Will the user file always be recreated when going to another machine?
      Do I have to re-configure everything when deleting this file?

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

        Yes, Qt Creator always creates it, also for newer versions on the same machine. This file hooks into current Kits configuration, so there is no point in preserving it between PCs or QtC builds.

        You should have all the configuration in your .pro file (if you are using qmake). Qt Creator will only ask you which Kit to use and if shadow building is desired.

        (Z(:^

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #5

          Creator will upgrade the file going from one version to the next (keeping a copy of the original version https://qt-project.org/forums/viewthread/25207/around). It is just not save to share the .user files between different installations of Creator (on different machines, or even the same machine but using separate sets of settings).

          I would greatly appreciate some feedback as to where creator locks up. Maybe you could get a stack trace once creator has locked up and file a bug report with this information? It should obviously never lock up when presented with unexpected input.

          1 Reply Last reply
          0
          • McLionM Offline
            McLionM Offline
            McLion
            wrote on last edited by
            #6

            Tobias,

            Since I have hit "No" to not load it, it did open the project and I did not see this message again so far.
            However, I can still not compile the same project on the new machine/version, while it still can be compiled on the old machine - which I'm worried more currently and I am thinking of removing the new version and try to install the older version.
            If it is very important to you I can try to replace the files from the backup and maybe can create the lockup again. You need to tell me how to get the stack trace you need if you'd like this.

            Regards,
            McL

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

              IF you have copied the data together with .user, maybe you have also copied build objects. Try doing a full clean of your poject, rerun qmake, etc.

              Those can be issues with cross-compiling, though. Hard to tell without more data.

              (Z(:^

              1 Reply Last reply
              0
              • McLionM Offline
                McLionM Offline
                McLion
                wrote on last edited by
                #8

                I don't think it has to do with the cross-compiling since I still can open and compile the same project on my old windows environment as well as from linux.
                From the new windows environment I get:
                g++: error: unrecognized command line option '-Wl'
                I probably have something wrong in the Kit/Qt/Compiler setup, but I don't get how to configure this correctly on my new 64bit machine to have my old qt 4.6.3 project compiled.

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

                  Quoting from the Download page:
                  [quote]The MinGW binary package includes a 32 bit MinGW-builds (gcc 4.7.2, sjlj exception handing, posix threading) toolchain.[/quote]

                  GCC 4.6 and 4.7 is not binary compatible, AFAIK. Plus there might have been some flag changes.

                  (Z(:^

                  1 Reply Last reply
                  0
                  • McLionM Offline
                    McLionM Offline
                    McLion
                    wrote on last edited by
                    #10

                    I removed Qt5 and installed QtSdk-online-win-x86-v1_2_1 and qt-win-opensource-4.6.3-mingw that I still had around from my last setup. Now I can perfectly compile on my new W7 x64 machine as I did on the old x86.

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

                      Your choice. If you are happy with it, then it's fine. You'll miss a lot of shiny new stuff this way, though :)

                      (Z(:^

                      1 Reply Last reply
                      0
                      • McLionM Offline
                        McLionM Offline
                        McLion
                        wrote on last edited by
                        #12

                        I am currently "bound" to 4.6.3 on the eLinux device anyway and will not be able to use all the new features.

                        Thanks anyway!

                        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