views:

69

answers:

2

I tried using the binary installer and I get the same problem I am describing below.

I have compiled it from source and used the instructions given on the Qt website, but I can't get Qt Creator to find Qt. I tried copying the Qt directory from /usr/local/Trolltech to /Developer/Applications/QT I have tried copying the frameworks into /Developer/Library/Frameworks

When I run Qt Creator I get the following error:

dyld: Library not loaded: QtGui.framework/Versions/4/QtGui Referenced from: /Developer/Examples/Qt/richtext/calendar-build-desktop/calendar.app/Contents/MacOS/calendar Reason: Incompatible library version: calendar requires version 4.7.0 or later, but QtGui provides version 4.5.0

Does anyone know what I am doing wrong? Where is Qt Creator looking for the frameworks?

A: 

You have to check QtCreator preferences to define de qt version to be used. Probably you are pointing to an old version of qt installed. Go to Preferences -> Qt4 and then you will be able to define which version of Qt should be used.

Federico
He clearly wrote that he can't run QtCreator
Kamil Klimek
He didn't clearly say that. Also, the shadow build path indicates that QtCreator is running, but fails to build or start his app, resp. Please ensure to call "Run qmake" and "Rebuild project" in the Build-Menu to set all the paths in the build script to the new Qt Version!
bjoern.bauer