Installing Qt libraries on Mac OS X 
Language
Sections
Search
Electronic stores
Counter
Text guide
 

    Back(Documentation)

    The basic requirement to perform the following actions will be installed IDE XCode, not less than 2,5.

    1 - download this file ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-4.6.4.tar.gz or, if you want more versions, with the same server: ftp://ftp.trolltech.com/qt/source/

    2 - unpacks the archiver or command console:

    $ tar xzf qt-everywhere-opensource-src-4.6.4

    3 - made the transition to the unpacked directory command:

    $ cd qt-everywhere-opensource-src-4.6.4

    4 -

    $ ./configure -platform macx-g++ -release -universal -webkit -nomake demos -nomake examples
    -universal - for universal assembly. All programs will run on both processors: Intel + PowerPC

    4.1 Asked:

    Type 'c' if you want to use the Commercial Edition.
    Type 'o' if you want to use the Open Source Edition.
    answer (choice of a free license):
    $ o

    4.2 On the next question:

    This is the Qt for Mac OS X Open Source Edition.
    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.
    Type '3' to view the GNU General Public License version 3.
    Type 'L' to view the Lesser GNU General Public License version 2.1.
    Type 'yes' to accept this license offer.
    Type 'no' to decline this license offer.
    Do you accept the terms of either license?
    respond (agree with the terms of the license):
    $ yes
    There is a setting, before installing Qt.

    5. made a command for the assembling:

    $ make

    6. made a command for the install:

    $ sudo make install

    All, Qt library is installed, you can run "name_of_program.app".

    Back(Documentation)


Lab Free Technologies © 2009 - 2016