Results 1 to 2 of 2

Thread: Recompilation needed after moving Qt to another directory?

  1. #1
    Join Date
    Jan 2006
    Location
    Shanghai, China
    Posts
    52
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Unhappy Recompilation needed after moving Qt to another directory?

    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!
    1. Users don't have the manual, and if they did, they wouldn't read it.
    2. In fact, users can't read anything, and if they could, they wouldn't want to.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Recompilation needed after moving Qt to another directory?

    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.

  3. The following user says thank you to wysota for this useful post:

    bood (2nd April 2006)

Similar Threads

  1. install help nedded.
    By aj2903 in forum Installation and Deployment
    Replies: 9
    Last Post: 13th November 2008, 07:57
  2. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  3. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.