[OSX Mavericks] Qt won't compile properly



  • Hi all,

    It's been a while since I have been programming with Qt, but yesterday I decided to try it again. I have to say I updated to Mavericks and I also have the latest version of Qt installed. My old setup worked great, but it seems there are a few problems now.

    When I create a simple console application saying "hello world" (in C++ btw) and try to build the whole project, it gives me 2 warnings:

    1. :-1: warning: No .qmake.cache is present. This significantly slows down qmake with this makespec.
      2):-1: warning: Call 'cache()' in the top-level project file to rectify this problem.

    I already googled this, and the solution should be indeed to call "cache()" in top of the *.pro file. I tried to do this without any result...There is an actual console application built, but when I open it, this is what I get:
    http://i39.tinypic.com/33opeeh.png()

    I know I'm not the only one with this problem, so is it just a matter of time for a fix? Or can someone already help me to solve this?

    Any help is really appreciated!



  • I'm running into this exact same thing. Were you able to figure out a fix? I have a new install of Qt 5.1.1 on Mavericks, and this is what I get when I create a new project and try to compile it:

    @dyld: Library not loaded: /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/PADDING/lib/QtCore.framework/Versions/5/QtCore
    Referenced from: /Users/[username]/Qt/5.1.1/clang_64/bin/uic
    Reason: image not found@

    I haven't been able to find any info on this, and I don't see any setup steps that I missed. It gives me the same thing if i run qmake in a terminal. I get this after creating a new gui application and compiling it without making any changes.

    I installed xcode and the command line tools, and then used the Qt installer.



  • I actually removed Qt 5.1.1 and installed the 5.2 beta, which can be found right "here":http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/
    Everyrhing seems to work fine now :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.