Full paths in the makefiles of a QtCreator project
-
-
I am 100% positive that after copying the project to a new location and realizing it was still looking at the source files under the old path, I ran
qmakebut nothing has changed. It was fixed after I deleted the makefiles on the command line though. -
Very strange indeed
I have my projects in dropbox so at work its
c:\dropbox\xxx
and at home
its
f:\dropbox\xxx
And running qmake+rebuild all
have so far function perfectly. -
Hi ,
When QtProject what to be shifted from one location to other location (i.e., from folder X to folder Y or from machine X to machine Y).- When a Qtproject is compiled it generates build folder with make file, .a files, .o files and a .pro.user file in Project folder. These are system and compiler dependent. After changing location delete the .pro.user file.
- After deleting .pro.user file try to open the project in Qt creator ,so it generates new .pro.user file according to new changes.
- Running qmake generates new Makefile according to new location .