Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [solved] Compilation on mac os x

    General and Desktop
    1
    2
    2757
    Loading More Posts
    • 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
      mcpolandc last edited by

      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 Reply Quote 0
      • M
        mcpolandc last edited by

        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 Reply Quote 0
        • First post
          Last post