SOLVED: Failed to compile / run a Qt demo on Mac OSX
-
wrote on 12 Sept 2014, 21:32 last edited by
I've been using Qt on the PC for a while, and now installed it on a Mac (I am not very familiar with Macs but am learning)
I installed XCode 5 from the app store and command line tools, then installed Qt5.3.1 using the online installer.
I restarted, opened QtCreator, selected the "DirView" example and tried to build it to run.
It failed with what you see below. Any ideas what I've not setup right? (again, very much a Mac newbie)Starting /Users/me/Qt/Examples/Qt-5.3/widgets/itemviews/build-dirview-Desktop_Qt_5_3_clang_64bit-Release/dirview.app/Contents/MacOS/dirview...
dyld: Library not loaded: /work/build/PADDING/lib/QtWidgets.framework/Versions/5/QtWidgets
Referenced from: /Users/me/Qt/Examples/Qt-5.3/widgets/itemviews/build-dirview-Desktop_Qt_5_3_clang_64bit-Release/dirview.app/Contents/MacOS/dirview
Reason: image not found
The program has unexpectedly finished.
/Users/me/Qt/Examples/Qt-5.3/widgets/itemviews/build-dirview-Desktop_Qt_5_3_clang_64bit-Release/dirview.app/Contents/MacOS/dirview crashed -
wrote on 12 Sept 2014, 21:37 last edited by
.. actually I'm thinking Qt didn't fully install, as I don't see it in the applications list when I look to try to uninstall it.
going to try downloading the complete installer and re-installing. will post back.
-
Hi,
Indeed, when you see this it means that the installation failed at some point. Check that you can access the command line tools properly
-
wrote on 12 Sept 2014, 21:57 last edited by
Hi,
Yes, a reinstall did the trick!
-
Good, then please update the thread title prepending [solved] so other forum users may know a solution as been found :)
-
wrote on 13 Sept 2014, 13:29 last edited by
beat ya to it :)
1/6