![]() ![]() Note: There is a potential race condition when running make install with multiple jobs. This command requires that you have administrator access on your machine. If -prefix is outside the build directory, you need to install the library, demos, examples, tools, and tutorials in the appropriate place. ![]() To create the library and compile all the demos, examples, tools, and tutorials, type: make 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. cd /tmp/qt-everywhere-opensource-src-4.8.5 configure script in the package directory.īy default, Qt is configured for installation in the /usr/local/Trolltech/Qt-4.8.5 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-4.8.5 containing the files from the archive. Tar xvf qt-everywhere-opensource-src-4.8.5.tar # unpack it Gunzip qt-everywhere-opensource-src-4.8.5.tar.gz # uncompress the archive For example, if you have the qt-everywhere-opensource-src-4.8.5.tar.gz package, type the following commands at a command line prompt: cd /tmp 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |