Problems installing Qt SDK on Mac OS X Lion

I just updated OS X Lion and I am trying to install the Qt SDK. I installed Qt 4.7.3 via homebrew and I am trying to get the Qt SDK 1.1.1 working on my machine.

I downloaded the installer from the Nokia Qt website and ran it. However, a strange series of errors occurred during installation:

First Qt Install Error Message

I clicked Repeat several times, but did not click Ignore, since Cancel simply terminates the installer.

Second Qt Install Error Message

Click Retry again.

Third Qt Install Error Message

Finally, click Retry again and the installation is complete.

However, obviously, something is wrong, because when I try to start Qt Creator, the following window welcomes me:

enter image description here

As you can see, the Qt Designer tab on the right, as well as the Projects tab, are grayed out. I tried to run the installer again and the exact exact errors will appear. I tried looking for a solution (I was looking for errors related to harmattan-postinstall.sh) and nothing came of it.

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

+4
source share
2 answers

Reply from user, cwadding:

An updated version of QtSDK is available that can solve the problem. I was able to set the QtSDK fine on Lion and use homebrew. The fact that the Qt Designer tab is grayed out is not related to the error you have, you just need to install it. To install, it simply selects the “SDK Maintenance Tool” in your QtSDK directory, and then select “Package Manager” and continue. You should be able to select and install additional tools, such as Qt Designer, as well as other things as examples. Hope this helps.

+1
source

All you have to do is install GCC - which comes with Xcode! I had the same Lion problems, I installed gcc and reinstall QT ... everything went smoothly. double check if you have the same problems, use "gcc" and see if you have gcc.

  • To install gcc, go to Xcode-> Preference-> Downloads and click the install button, except for "Command Line Tools".
+8
source

All Articles