error on installing qt sdk on mac 10.6.2
hi to every one
i am trying to install qt sdk 1.1.1 on my mac 10.6.2
i was installed xcode 2.2.1_8
and now i am trying to install qt sdk ofline mac 64 v 1.1.1
but it get me this eror
what should i do?
Well, go to www.macports.org and check out the “Getting started” section. Download it, install MacPorts itself. But, be warned. You’d need quite a while to get a usable system, since everything would be built from the sources. On a dual core you might need something like 6 hrs to install everything up to QT 4.7.3.
You’d have to decided whether it’s worth the effort.
But, you should upgrade your Xcode. It is far too old. I have 3.2 here. The current version 4 should also do the job, but you need to pay a little for it in Apple’s app store. (about 5 USD)
But you could alternatively also install the latest version of the older Xcode 3.
Once you got Xcode set up, just follow MacPorts’ instructions to install MacPorts on your machine.
You’d have to run
- sudo port selfupdate
at some stage. Then you would run
- sudo port install qt4-mac
To get the latest QT4 installed on you machine.
Before going to macports, I recommend to either install the SDK parts manually. That’s mainly Qt Creator and the framework libs itself, both are available as precompiled binaries on the download pages. Optionally one can go with building the framework libs manually, that’s not a hard task. Macports brings in a big bunch of unnecessary stuff which you do not need to develop using Qt. XCode is a prerequisite for all three options (SDK, single binaries, macports).
Calling something “urgent” is most likely to slow down answers (cf. to http://www.catb.org/~esr/faqs/smart-questions.html please).
Qt Creator automatically detects the toolchain for you. So it seems you do not have set up XCode properly. Please check this. Open a command line window (Terminal.app), type in “gcc -v” and look if that works. If not, your XCode setup is messed up.