Results 1 to 3 of 3

Thread: QT SDK installation fail on mac OS X

  1. #1
    Join Date
    Feb 2012
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Default QT SDK installation fail on mac OS X

    Hello,

    I am trying to install QT SDK (Download Qt, the cross-platform application framework — Qt - A cross-platform application and UI framework).

    I've tried both downloading .dmg offline installation and online installation.

    The first message it throws me is

    "You need C++ compiler to be able to install QT SDK. Please install latest version Xcode first before invoking this installer". I do have xcode 4.2.1, so I click ok.

    I choose "/Developer/SDKs/qtSDK" as installation folder. Then Agree-> Install.

    Then at some point of installation i get this

    "Error during installation process (com.nokia.ndk.api.qtcomponents.simulator.gcc):
    Can't start process install_name_tool." with Ignore, Retry and Cancel options. I clicked several times retry, doesn't help.

    So, i cancel installation, as clicking ignore throws me many other errors.

    Then I tried to install QT using homebrew as follows:

    brew install qt

    wich threw me this warning messages:

    Warning: Xcode is not installed! Builds may fail!
    Warning: It appears you have MacPorts or Fink installed.
    Software installed with other package managers causes known problems for
    Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.

    Now, why it doesn't recognize xcode?

    I've checked bug-tracker for qt, found similar problems other users have been having (not exactly the same), and hasn't been resolved yet.

    I would appreciate any help I can get,

    Thanks in advanced
    Reply With Quote

  2. #2
    Join Date
    May 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QT SDK installation fail on mac OS X

    hello,
    the same problem for me with Qt SDK 1.2.1. I've previously installed Xcode 4.3

    but the same message : "You need a C++ compiler to be able install the Qt SDK. Please install the latest Xcode first before invoking this installer!"

    any idea to solve this issue ?

    thanks in advance

    Zemickeyman

  3. #3
    Join Date
    May 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QT SDK installation fail on mac OS X

    Issue is solved !!

    here is the anwer :
    XCode 4.3 is not installed with command line tool by default.
    and Qt SDK installer needs this Xcde commande line tool to install Qt libraries and Qt Creator on your Mac.
    Thus after having installed XCode 4.3, just install command line tool (via the preference menu of Xcode).

    Then you can install Qt creator with out any error message...
    enjoy...

    Zemickeyman

Similar Threads

  1. Fail to run own QDBusServer
    By ghal maraz in forum Newbie
    Replies: 1
    Last Post: 9th March 2011, 14:06
  2. Fail to Qt 4.7.1 in windows with MinGW
    By SIFE in forum Installation and Deployment
    Replies: 1
    Last Post: 16th February 2011, 19:56
  3. Mysterious QSslSocket error causes installation to fail on Ubuntu 64-bit.
    By spitfirejunky in forum Installation and Deployment
    Replies: 2
    Last Post: 1st April 2010, 23:04
  4. fail to build QT 4.4 on Solaris 10 x86
    By HenryP in forum Installation and Deployment
    Replies: 0
    Last Post: 12th May 2008, 15:55
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.