PDA

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



bood
31st March 2006, 04: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:


C:\Qt\4.1.0-rc1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_DEB
UG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -D_MSC_VER=1310 -DWIN32 -I"C:\
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_
coreedit.cpp


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!

wysota
1st April 2006, 01: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.