Struggling Trying to Transfer Project from old laptop to new laptop
-
I've been trying, without success, to transfer a Qt project from my old laptop to my new one for the past several hours now. The basic idea I'm using is just to copy across the folder that contains all my source and header files, and then open the project after downloading Qt on my new laptop.
I followed the advice here namely about deleting .pro.user files and build / release folders, etc. On my new laptop, I can open the project and see all my source files but when it comes to actually building the project I get close to 200 compile errors (none of which appear on the original laptop).
The compile errors themselves are extremely strange. For example:
syntax error: missing ')' before identifier 'and'
'__cxx11': is not a member of 'std'
From looking up some of the individual error messages online, it seems like I possibly have a circular dependence issue; however, I have no such issue in my original code on my original laptop so I have no idea where this could be coming from.
I was using Qt 6.0.1 and Qt Creator 4.14.0 on my original laptop; I am using the latest Qt on my new laptop. I don't know if this makes a difference.
I am really at my wit's end and I would appreciate any help whatsoever.
-
What is the first error message? Anything after that may be a cascade caused by the first error, and therefore pointless to diagnose.
-
@Aditya-Gupta which compiler and qt version you are using in both laptops?
-
I realised that I wasn't using mingw on my new laptop, and so tried to set it up. However, I ran into a new problem - while mingw was being recognized on my new laptop, I wasn't able to get a kit to use it. Images showing the problem can be viewed here and here.
Thanks for the replies and once again any help would be much appreciated.
-
@Aditya-Gupta said in Struggling Trying to Transfer Project from old laptop to new laptop:
the red icon persisted
And what does it say if you put mouse cursor over it?