

This process is described in detail in the Debugging Techniques document. Qt can also be configured to be built with debugging symbols. By default, Qt is built as a framework, but you can built it as a set of dynamic libraries (dylibs) by specifying the -no-framework option.

Note that you will need to specify -universal if you want to build universal binaries, and also supply a path to the -sdk option if your development machine has a PowerPC CPU. configure -help to get a list of all available options. configure script in the package directory.īy default, Qt is configured for installation in the /usr/local/Trolltech/Qt-%VERSION% directory, but this can be changed by using the -prefix option. To configure the Qt library for your machine type, run the. This creates the directory /tmp/qt-everywhere-opensource-src-%VERSION% containing the files from the archive. For example, if you have the qt-everywhere-opensource-src-%VERSION%.tar.gz package, type the following commands at a command line prompt: Unpack the archive if you have not done so already. If you have the commercial edition of Qt, install your license file as $HOME/.qt-license.įor the open source version you do not need a license file. Step 1: Install the License File (commercial editions only) The iPhone simulator conflicts with the package installer.


Note: Do not run the iPhone simulator while installing Qt. The script is located in /Developer/Tools and must be run as root. You can later run the uninstall-qt.py script to uninstall the binary package. The following instructions describe how to install Qt from the source package.įor the binary package, simply double-click on the Qt.mpkg and follow the instructions to install Qt. Qt for Mac OS X has some requirements that are given in more detail in the Qt for Mac OS X Requirements document. – Gerardo Contijoch Sep 10 '13 at 14:54 add a comment. Simple, just copy PyQt4 source files folder (the folder called something like PyQt-mac-gpl-4.xx.x) to the Desktop and try again. Next, you will need to install Python 2.6.1. Start by downloading and installing the standard Qt SDK from the Qt Software website. How-to: Deploying PyQt applications on Windows and Mac OS X.
