Qt compilation./configure Parameters

Source: Internet
Author: User

Usage: Configure [-H] [-Prefix <dir>] [-Prefix-install] [-bindir <dir>] [-libdir <dir>]
[-Docdir <dir>] [-headerdir <dir>] [-plugindir <dir>] [-datadir <dir>]
[-Translationdir <dir>] [-sysconfdir <dir>] [-examplesdir <dir>]
[-Demosdir <dir>] [-buildkey <key>]
These are basic parameters
[-Release] [-Debug] [-debug-and-release] [-developer-build]
[-Shared] [-static] [-no-fast] [-fast] [-no-largefile]
[-Largefile] [-no-Restrictions] [-Restrictions] [-no-Accessibility]
[-Accessibility] [-no-STL] [-STL] [-no-SQL-<driver>] [-SQL-<driver>]
[-Plugin-SQL-<driver>] [-system-SQLite] [-no-qt3support] [-qt3support]
[-Platform] [-D <string>] [-I <string>] [-L <string>] [-help]
These are parameters for the modules supported by QT.
[-QT-zlib] [-system-zlib] [-no-gif] [-QT-gif] [-no-LibTIFF] [-QT-LibTIFF] [-system- libTIFF]
[-No-libpng] [-QT-libpng] [-system-libpng] [-no-libmng] [-QT-libmng]
[-System-libmng] [-no-libjpeg] [-QT-libjpeg] [-system-libjpeg] [-make <part>]
[-No-make <part>] [-r <string>] [-L <string>] [-no-rpath] [-rpath] [-Continue]
[-Verbose] [-V] [-Silent] [-no-NIS] [-NIS] [-no-cups] [-cups] [-no-iconv]
[-Iconv] [-no-PCH] [-PCH] [-no-rows] [-rows] [-modified-linked]
[-No-separate-debug-info]
These are supported parameters for third-party Libraries
[-No-MMX] [-no-3dnow] [-no-SSE] [-no-sse2]
[-Qtnamespace <namespace>] [-qtlibinfix <infix>] [-separate-debug-info]
[-Armfpa] [-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns]
[-Xmlpatterns] [-no-phonon] [-phonon] [-no-phonon-backend]
[-Phonon-backend] [-no-OpenSSL] [-OpenSSL] [-OpenSSL-linked]
[-No-gtkstyle] [-gtkstyle] [-no-SVG] [-SVG] [-no-WebKit] [-WebKit]
[-No-scripttools] [-scripttools]

Select parameters for the module for exclusive embedded QTE Compilation


Installation Options:

The following options are optional. They are used to specify the installation directory. If not specified, the default directory is used. If you mark * Before the option, the default value is system, and + indicates that
-Prefix <dir> ...... specify the installation directory in/usr/local/trolltech/QtEmbedded-4.X.X by default
-Hostprefix [dir]... specifies the installation path of the Extensible tool library, which defaults to the current directory.
*-Prefix-install ...... specify the local installation of QT.
/Usr/local/trolltech/QtEmbedded-4.X.X, this option takes precedence over-prefix.

The following options are used to specify separate installation of different parts, for example, to put executable files in/usr/bin to/lib:

-Bindir <dir> ...... specify the executable file path <dir> (under prefix/bin by default)
-Libdir <dir> ...... specify the library file path <dir> (default prefix/LIB)
-Docdir <dir> ...... specify the document path <dir> (default prefix/DOC)
-Headerdir <dir>... specifies the header file path <dir> (default prefix/include)
-Plugindir <dir>... specify the plug-in path <dir> (default prefix/plugins)
-Datadir <dir>... specifies the path of some data files to be used by QT <dir> (default prefix)
-Translationdir <dir>. Specify the path of the QT program's translation file <dir> (default prefix/translations)
-Sysconfdir <dir>... specifies the path of the QT setting file <dir> (default prefix/etc/settings)
-Examplesdir <dir>... specifies the instance file, <dir> (default prefix/examples)
-Demos dir <dir>... specifies the demos installation path <dir> (default prefix/DEMOS)

You can use these options to match your desired plug-in.

-Buildkey <key>... generate the QT library and plug-in through the specified key.
Configuration Options:

The default option (*). You can add the option (+)

*-Release ...... this option is used to compile the program QT without optimization. It is the default option.
-Debug ...... This option will optimize the program during the compilation process. You should use this option when releasing the software.
-Debug-and-release. Compile two versions.

-Developer-build... compile the developer and connection options of QT (including QT for Automatic Test Export)

-Opensource ...... release the program in the Open Source version.
-Publish cial ...... release programs in commercial version

*-Shared ...... create and use the shared QT library.
-Static ...... create and use a static QT library.

*-No-fast ...... use the usual makefile for compilation. It is the default option.
-Fast ...... rapid Compilation: In addition to encapsulating necessary libraries, some steps are omitted or processed in a quick way.
-No-largefile... disable support for large files.
+-Largefile ...... supports accessing files larger than 4 GB.
*-No-exceptions... disable the compiler to handle exceptions.
-Exceptions ...... enable the compiler to handle exceptions.
-No-Accessibility ..
*-Accessibility... disable/enable accessibility support
-No-STL ............
*-STL ...... disable/enable STL support.
-No-SQL-<driver>... disable SQL
-QT-SQL-<driver>... enable the SQL plug-in as needed (all are disabled by default)
-Plugin-SQL-<driver> disable, enable, and enable SQL ins for SQL

-System-SQLite... enable and support SQLite.-QT-SQLite is also available.

-No-qt3support .....
*-Qt3support ...... disable/enable the qt3 Support Module

-No-xmlpatterns ....
+-Xmlpatterns ...... disable/enable the xmlpatterns Module

-No-phonon .........
+-Phonon ...... disable/enable the phonon module (which can be understood as the sound control module)

-No-phonon-backend ..
+-Phonon-backend... disable/enable the phonon-backend Module
-No-SVG ............
+-SVG ...... disable/enable the SVG Module

-No-WebKit .........
+-WebKit ...... disable/enable the WebKit module (access the network module)
-No-scripttools ....
+-Scripttools ...... disable/enable the scripttools Module

-Platform target... X86 platform specified module (qws/linux-x86-g ++ ).

-No-MMX ...... I don't know what these four are. How many command systems do they look like?
-No-3dnow ..........
-No-SSE ............
-No-sse2 ...........


-Qtnamespace <Name> specifies the code paths of all libraries.

-Qtlibinfix <infix> rename all. So library files to the specified path

-D <string> ...... Add a pre-processor
-I <string> ...... Add a clear header file path.
-L <string> ...... Add a clear library file path.

-Help,-H ...... display help information

Third-party library options:
(The following are third-party libraries, which are often added to dependencies during compilation. There is nothing to say, and nothing to add if there is nothing left)

-QT-zlib ...........
+-System-zlib ...... zlib dependency package details query http://www.gzip.org/zlib

-No-GIF ............
*-QT-GIF support package
See also src/plugins/imageformats/GIF/qgifhandler. h

-No-LibTIFF ........
-QT-LibTIFF support plug-ins... tiff
+-System-LibTIFF... by default, the system is called by-system. If an error occurs, you can try-QT. QT is not prone to errors during the compilation process.
Consult http://www.libtiff.org

-No-libpng .........
-QT-libpng ...... PNG Image Support plug-in
+-System-libpng .....
Consult http://www.libpng.org/pub/png

-No-libmng .........
-QT-libmng ...... MNG supports plug-ins
+-System-libmng .....
Consult http://www.libmng.com

-No-libjpeg ........
-QT-libjpeg support plug-ins
+-System-libjpeg ....
Consult http://www.ijg.org

-No-OpenSSL ........
+-OpenSSL support plug-ins
-OpenSSL-linked ....

-Ptmalloc ...... system memory distributor
Other options:
(Extended options and module selection make compilation more user-friendly)
-Make <part>... select whether to compile some irrelevant sub-modules.
-Nomake <part>... (for example, you can use-nomake demos if you do not want to compile demos imported by the system)
-R <string> ...... Add a dynamic library
-L <string> ...... Add a static library
-No-rpath ..........
+-Rpath ...... install the generated library in the installation directory of the software. By default, the generated library is in the installation directory. Otherwise, you must specify the path.

-Continue ...... ignore the compilation of errors all the way forward, because it is generally compiled one by one according to modules,
When an error occurs, it is stopped. Add this parameter to complete compilation and final processing.
-Verbose,-V ...... display details of each step
-Silent ...... quiet compilation omitted information echo

*-No-optimized-qmake...
-Optimized-qmake... disable/enable the optimization function of qmake.

-No-NIS ............
*-NIS ...... disable/enable NIs support.

-No-cups ...........
*-Cups ...... disable/enable cups support.
Cups/cups. h and libcups. so.2.

-No-iconv ..........
*-Iconv ...... disable/enable iconv support.

-No-PCH ............
*-PCH ...... disable/enable whether to use Preprocessor header files

-No-errors ...........
+-Disable ...... disable/enable the compilation of the qtdbus module.
-Your-linked .......

-Reduce-relocations... reduces library file reset caused by link optimization.

-No-separate-debug-info. Do not place debugging information in a file.
*-Separate-debug-info... stores debugging information in a file.

The following parameters are only applicable to embedded QTE Compilation:

-Xplatform target... the cross-compilation process specifies the target platform.
-No-feature-<feature> do not compile <feature>.
-Feature-<feature>... compile <feature>. optional feature can be searched in the src/corelib/global/qfeatures.txt file.

-Embedded <arch>... specifies the type of the embedded platform, for example, arm MIPS x86 generic.

-Armfpa .............
-No-armfpa ...... disable/enable armfpa floating point format support

-Little-Endian... specifies the byte order to be small byte order, low byte order
-Big-Endian ...... specify the byte order as large byte order and high byte order.

-Host-little-Endian. Specify the byte sequence of the host platform to be small-byte and Low-byte.
-Host-big-Endian... specify the byte sequence of the host platform as large-byte sequence and high-byte sequence.
Note: you only need to specify the byte sequence of the target platform. Otherwise, the host's byte sequence will be selected.
Arm compilation process

-No-FreeType ........
-QT-FreeType ...... disable/enable support for FreeType Module
*-System-FreeType ....
Consult http://www.freetype.org/

-Qconfig local...
Src/corelib/global/qconfig-local.h

-Depths <list>... supports displaying the bit depth of a device. There are 1, 4, 8, 12, 15, 16, 18, 24, 32 and 'all '.

-QT-Decoration-<style>... specifies that the compiled interface style is Windows by default.

-Plugin-Decoration-<style> specify the default plug-in style for Windows
-No-Decoration-<style>... if you do not know the style, use the default option.

-No-OpenGL ..........
-OpenGL <API> ...... disable/enable OpenGL support
If no model is specified, the system automatically checks
Note: This option is supported by hardware and can be driven.

-QT-GFX-<driver>... specify to display the driver library of the device.
Reference options: [linuxfb transformed qvfb VNC multiscreen]
-Plugin-GFX-<driver> specifies the display plug-in driver library.
Reference options: [AHI directfb hybrid linuxfb powervr qvfb transformed VNC]
-No-GFX-<driver>... Do not load the Display Device
Reference options: [linuxfb transformed qvfb VNC multiscreen]

-QT-KBD-<driver>... specifies the keyboard driver library in the graphic interface.
Reference options: [tty USB sl5000 yopy vr41xx qvfb]

-Plugin-KBD-<driver> E: Specifies the keyboard plug-in driver library in the graphic interface.
Reference options: [linuxis sl5000 USB vr41xx yopy]

-No-KBD-<driver>... Do not load the specified driver
Reference options: [tty USB sl5000 yopy vr41xx qvfb]

-QT-mouse-<driver>... specifies the mouse driver library under the graphic interface.
Reference options: [PC bus linuxtp yopy vr41xx tslib (selected on the touch screen) qvfb]
-Plugin-mouse-<driver> mouse plug-in driver Library
Reference options: [Bus linuxis linuxtp PC tslib vr41xx yopy]
-No-mouse-<driver>... specifies the mouse driver library module that is not loaded.
Reference options: [PC bus linuxtp yopy vr41xx tslib qvfb]

-Iwmmxt ...... compile and use the iwmmxt instruction set to facilitate support for some XScale CPUs.

-No-glib ...........

+-Glib ...... disable/enable support for glib.

Address: http://hi.baidu.com/%C6%BB%B9%FB%CF%A1%D6%E0/blog/item/3b7a8e15391f5a14972b4303.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.