I wanted to install Darwin Ports in order to install Qt4 on my Mac but that turned out unsessfully for me. Qt4 would install but I was unable to locate qmake in order to compile a Qt4 application.

Anyway, I found another way to acomplish this (which might also make it possible to install Amarok2 later on) using the KDE4 for Mac OS X packages availalble at mac.kde.org/?id=download. All you need to download and install are the first two packages “Base System” and “Qt4.4” (respecting that order).

The installation completed qmake is available from /opt/local/bin/qmake.

To install a Qt4 application, it’s simple.

  • Download the source and unzip it.
  • Using the terminal, cd into the directory
  • run /opt/local/bin/qmake
  • run make
  • run sudo -c “make install”

Using Spotlight, you should be able to run the installed application.

I tested it with QtMPC (a MPD server client)

Filed under: Computing, Mac OS X

Tagged with: , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Installing Qt4 on Mac OS X

Name (required)

Email (required)

Website

Leave a Reply

  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.