Results 1 to 2 of 2

Thread: Include problem after rebuild. Mac OSX 10.6

  1. #1
    Join Date
    Mar 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Include problem after rebuild. Mac OSX 10.6

    Hey,

    not 100% sure this is the right forum, but didn't know where to post build like stuff.
    Edit: ok i found out that it should be in installation and deployment, sorry about that. If a mod could move it.

    I recently reinstalled Qt. First time i used the Qt SDK: Complete Development Environment. (for Mac)
    The reason i reinstalled was that i need the sql-drivers, so scnd time i downloaded the libraries and built everything myself. (Apart from the Webkit - Sqldrivers conflict) Everything went well uptill here.

    But then i tried to build a project and a problem rose. qmake was still using my old include directories. Of course, this didn't work as qmake couldn't find the right files.

    So now my question is, how do i change my directories? My guess is the first install set a environment variable that's still somewhere around. But i don't know what to do about it ..

    any help appreciated!

    P.S: If any more info needed to help, pls ask!

  2. #2
    Join Date
    Mar 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Include problem after rebuild. Mac OSX 10.6

    Solved this myself. And i'm very happy i did, took a while.

    Apparently there is a file named qmake.cache, in this file some stuff were adapted during reinstall but not the QT_BUILD_DIR variable. If you put the build path correctly here everything works normal again. qmake.cache was hidden in my users/username folder.

    Greetz,

    Manjak

Similar Threads

  1. #include problem in eclipse with qt4.4.0
    By snatcher in forum Newbie
    Replies: 3
    Last Post: 5th August 2009, 05:04
  2. Rebuild Qt 4.5.1 Static
    By tinti in forum Installation and Deployment
    Replies: 1
    Last Post: 4th May 2009, 14:04
  3. rebuild Qt +MinGW
    By Ghost in forum Installation and Deployment
    Replies: 1
    Last Post: 17th October 2008, 13:22
  4. Problem with QThread after linux rebuild
    By zlatko in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2006, 11:57
  5. problem with an include
    By mickey in forum General Programming
    Replies: 1
    Last Post: 20th July 2006, 14:45

Tags for this Thread

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.