[solved] Compilation on mac os x
-
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?