View Full Version : Recompilation needed after moving Qt to another directory?

31st March 2006, 03:50
Qt4.1.0-rc1 + WinFree patch + WinXP with SP2
After I move the whole Qt dir from c:\ to d:\ I find it's not working anymore
Seems some configurations still point to c:\ though I've already changed the QTDIR and PATH, and I also changed the cache file named .qmake.cache, as you can see below:

Qt\4.1.0-rc1\include" -I"." -I"C:\Qt\4.1.0-rc1\include\ActiveQt" -I"release" -I"
." -I"D:/Qt/4.1.0-rc1/mkspecs/win32-msvc.net" -DWIN32 coreedit.h -o release\moc_

It will be a long time to recompile Qt, and coz there is a binary release I think it's possible to not recompile it. Anyone help!

1st April 2006, 00:32
As far as I remember the path is being hardcoded into qmake, so recompiling just qmake should be enough. If not, take a look at QMAKESPEC files, there may be some paths there too.