Jan
24
Installing Qt4 on Mac OS X
January 24, 2009 | Leave a Comment
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)