Thorben Croisé
Thorben Croisé

Reputation: 12870

Installing Qt on Snow Leopard fails

I am having a hard time trying to get Qt running. I downloaded the 4.6.2 SDK-Installer and it completed successfully. Yet, when I try to compile any of the examples by Terminal and typing "qmake" I get errors like this

Failure to read QMAKESPEC conf file /Users/xxx/mkspecs/macx-g++/qmake.conf.
Error processing project file: /Users/xxx/chap06/mdieditor/mdieditor.pro

I tried adding

#qt
export PATH='/usr/local/Qt4.6':$PATH
export QTDIR=’/usr/local/Qt4.6‘
export QMAKESPEC=/usr/local/Qt4.6/mkspecs/macx-g++

to my .profile file, I get another error, stating

Project LOAD(): Feature qt_config cannot be found.

Do you have any idea what went wrong in the installation?

Thank you very much for your input

Upvotes: 0

Views: 982

Answers (1)

Troubadour
Troubadour

Reputation: 13431

Try

export PATH='/usr/local/Qt4.6/bin':$PATH

instead.

Upvotes: 1

Related Questions