Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems Installing Qt SDK on Mac OS X Lion

I've just upgraded to OS X Lion and am I trying to install Qt SDK. I've installed Qt 4.7.3 through homebrew, and am trying to get Qt SDK 1.1.1 running my machine.

I downloaded the installer from the nokia Qt site, and run it. However, during the installation, a strange series of errors appeared:

First Qt Install Error Message

I clicked "Retry" a few times to no avail, so hit "Ignore", as "Cancel" just quits the installer.

Second Qt Install Error Message

Again, clicked "Retry".

Third Qt Install Error Message

Finally, clicked "Retry" again, and the installation completed.

However, there's obviously something faulty, because when I try to run Qt Creator, I am greeted with the following window:

enter image description here

As one can see, the Qt Designer tab on the right, as well as the Projects tab are greyed out. I tried running the installer again, and the same exact errors pop up. I tried googling a solution (looking for errors involving harmattan-postinstall.sh) and nothing came up.

Has anyone else encountered these problems? Does anyone know of a solution?

like image 961
Edward Grefenstette Avatar asked Jan 19 '23 18:01

Edward Grefenstette


1 Answers

All you need to do is install GCC - that comes with Xcode ! I had the same issues Lion, I installed gcc, and reinstalled QT... things went smooth. to double check if you have the same issues, use " which gcc" and see if you have gcc.

  • To install gcc, go to Xcode->Preference->Downloads and click install button besides "Command line tools".
like image 189
Seif Mazareeb Avatar answered Jan 31 '23 09:01

Seif Mazareeb