Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [OSX Mavericks] Qt won't compile properly
Qt 6.11 is out! See what's new in the release blog

[OSX Mavericks] Qt won't compile properly

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    digibyte
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • B Offline
      B Offline
      burritobrian
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        digibyte
        wrote on last edited by
        #3

        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 :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved