Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Compilation on mac os x
QtWS25 Last Chance

[solved] Compilation on mac os x

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.9k Views
  • 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.
  • M Offline
    M Offline
    mcpolandc
    wrote on last edited by
    #1

    Hi guys,

    I have installed the latest (5.1.1) QtCreator from the offline installer from Qt Project website. This version includes clang and I can see from 'Preferences > Build & Run > Qt Versions' that qmake within the bin folder of my installation is being used. I also used the export function in terminal to add said bin directory to $PATH.

    However, when I try to build a project from within QtCreator or using terminal (qmake project.pro), I get an error saying:

    'line 1: 2211 Trace/BPT trap: 5 /Users/myName/Qt5.1.1/5.1.1/clang_64/bin/uic -d mainwindow.ui'

    It gives the reason as 'image not found'. It also complains about a library not being loaded:

    'dyld: Library not loaded: /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/PADDING/lib/QtCore.framework/Versions/5/QtCore'

    This happens whether I use an already existing project and a new one. I assume it is not being able to find resources for mainwindow.ui? :/

    I have also added '/usr/lib' to my $DYLD_LIBRARY_PATH and my clang/bin folder to $PATH. Neither of these things made a difference.

    Could anyone help me with this?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcpolandc
      wrote on last edited by
      #2

      Weirdly this fixed itself by reinstalling in the Applications folder. Sorry for any time wasted but I'm really happy anyway! :D

      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