[Solved .. kindof ..] Issues opening 4.6.3 Project from Creator 2.4.1 in latest Qt5 creator
-
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.
-
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.
-
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 -
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.
-
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. -
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.
-
Your choice. If you are happy with it, then it's fine. You'll miss a lot of shiny new stuff this way, though :)