Участник:ViGOur/Песочница

Материал из Wiki.crossplatform.ru

< Участник:ViGOur(Различия между версиями)
Перейти к: навигация, поиск
(Сторонние библиотеки:)
(Qt for Windows CE only:)
 
(5 промежуточных версий не показаны.)
Строка 1: Строка 1:
= Опции конфигурации: =
= Опции конфигурации: =
-
(*) отмечаются значения по умолчанию, которое включено. (+) означает значение по умолчанию, которая должна быть включено. Вот краткое описание каждого варианта:
+
The defaults (*) are usually acceptable. A plus (+) denotes a default value that needs to be evaluated. If the evaluation succeeds, the feature is included. Here is a short explanation of each option:
-
    -release ........... Compile and link Qt with debugging turned off.
+
== Базовые ==
-
* -debug ............. Compile and link Qt with debugging turned on.
+
{|
-
+ -debug-and-release . Compile and link two Qt libraries, with and without debugging turned on.
+
|-
 +
|
 +
| width="150px" | -release
 +
| Compile and link Qt with debugging turned off.
 +
|-
 +
| *
 +
| -debug
 +
| Compile and link Qt with debugging turned on.
 +
|-
 +
| +
 +
| -debug-and-release
 +
| Compile and link two Qt libraries, with and without debugging turned on.
-
* -shared ............ Create and use shared Qt libraries.
+
|-
-
    -static ............ Create and use static Qt libraries.
+
| *
 +
| -shared
 +
| Create and use shared Qt libraries.
 +
|-
 +
|
 +
| -static
 +
| Create and use static Qt libraries.
-
* -no-fast ........... Configure Qt normally by generating Makefiles for all project files.
+
|-
-
    -fast .............. Configure Qt quickly by generating Makefiles only for library and subdirectory targets.  All other Makefiles are created as wrappers which will in turn run qmake
+
| *
 +
| -no-fast
 +
| Configure Qt normally by generating Makefiles for all project files.
 +
|-
 +
|
 +
| -fast
 +
| Configure Qt quickly by generating Makefiles only for library and subdirectory targets.  All other Makefiles are created as wrappers which will in turn run qmake
-
    -no-exceptions ..... Disable exceptions on platforms that support it.
+
|-
-
* -exceptions ........ Enable exceptions on platforms that support it.
+
|
 +
| -no-exceptions
 +
| Disable exceptions on platforms that support it.
 +
|-
 +
| *
 +
| -exceptions
 +
| Enable exceptions on platforms that support it.
-
    -no-accessibility .. Do not compile Windows Active Accessibility support.
+
|-
-
* -accessibility ..... Compile Windows Active Accessibility support.
+
|
 +
| -no-accessibility
 +
| Do not compile Windows Active Accessibility support.
 +
|-
 +
| *
 +
| -accessibility
 +
| Compile Windows Active Accessibility support.
-
    -no-stl ............ Do not compile STL support.
+
|-
-
* -stl ............... Compile STL support.
+
|
 +
| -no-stl
 +
| Do not compile STL support.
 +
|-
 +
| *
 +
| -stl
 +
| Compile STL support.
-
    -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are turned on.
+
|-
-
    -qt-sql-<driver> ... Enable a SQL <driver> in the Qt Library.
+
|
-
    -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at runtime.
+
| -no-sql-<driver>
-
                        Доступные значения для <driver>:
+
| Disable SQL <driver> entirely, by default none are turned on.
-
                          mysql
+
|-
-
                          psql
+
|
-
                          oci
+
| -qt-sql-<driver>
-
                          odbc
+
| Enable a SQL <driver> in the Qt Library.
-
                          tds
+
|- valign="top"
-
                          db2
+
|
-
+                         sqlite
+
| -plugin-sql-<driver>
-
                          sqlite2
+
| Enable SQL <driver> as a plugin to be linked to at runtime.
-
                          ibase
+
Доступные значения для <driver>:
-
                        (drivers marked with a '+' have been detected as available on this system)
+
{|
 +
|-
 +
|
 +
| mysql
 +
|-
 +
|
 +
| psql
 +
|-
 +
|
 +
| oci
 +
|-
 +
|
 +
| odbc
 +
|-
 +
|
 +
| tds
 +
|-
 +
|
 +
| db2
 +
|-
 +
| +
 +
| sqlite
 +
|-
 +
|
 +
| sqlite2
 +
|-
 +
|
 +
| ibase
 +
|}
 +
(drivers marked with a '+' have been detected as available on this system)
-
    -system-sqlite ..... Use sqlite from the operating system.
+
|-
 +
|
 +
| -system-sqlite  
 +
| Use sqlite from the operating system.
-
    -no-qt3support ..... Disables the Qt 3 support functionality.
+
|-
 +
|
 +
| -no-qt3support
 +
| Disables the Qt 3 support functionality.
-
    -no-opengl ......... Disables OpenGL functionality
+
|-
 +
|
 +
| -no-opengl
 +
| Disables OpenGL functionality
-
    -platform <spec> ... The operating system and compiler you are building on. (default %QMAKESPEC%)
+
|-
 +
|
 +
| -platform <spec>
 +
| The operating system and compiler you are building on. (default %QMAKESPEC%)
-
    -xplatform <spec> .. The operating system and compiler you are cross compiling to.
+
|-
 +
|
 +
| -xplatform <spec>
 +
| The operating system and compiler you are cross compiling to.
-
                        See the README file for a list of supported operating systems and compilers.
+
See the README file for a list of supported operating systems and compilers.
-
    -qtnamespace <namespace> Wraps all Qt library code in 'namespace name {...}
+
|-
 +
|
 +
| -qtnamespace <namespace>
 +
| Wraps all Qt library code in 'namespace name {...}
-
    -D <define> ........ Add an explicit define to the preprocessor.
+
|-
-
    -I <includepath> ... Add an explicit include path.
+
|
-
    -L <librarypath> ... Add an explicit library path.
+
| -D <define>
-
    -l <libraryname> ... Add an explicit library name, residing in a librarypath.
+
| Add an explicit define to the preprocessor.
 +
|-
 +
|
 +
| -I <includepath>
 +
| Add an explicit include path.
 +
|-
 +
|
 +
| -L <librarypath>
 +
| Add an explicit library path.
 +
|-
 +
|
 +
| -l <libraryname>
 +
| Add an explicit library name, residing in a librarypath.
-
    -help, -h, -? ...... Display this information.
+
|-
 +
|
 +
| -help, -h, -?
 +
| Display this information.
 +
|}
== Сторонние библиотеки: ==
== Сторонние библиотеки: ==
Строка 60: Строка 164:
|-
|-
|
|
-
|   -qt-zlib
+
| width="150px" | -qt-zlib
| Использовать zlib комплект с Qt.
| Использовать zlib комплект с Qt.
|-
|-
Строка 134: Строка 238:
|}
|}
-
== Qt for Windows only: ==
+
== Qt только для Windows: ==
 +
{|
 +
|-
 +
|
 +
| width="150px" | -no-dsp
 +
| Do not generate VC++ .dsp files.
 +
|-
 +
| *
 +
| -dsp
 +
| Generate VC++ .dsp files, only if spec "win32-msvc".
-
    -no-dsp ............ Do not generate VC++ .dsp files.
+
|-
-
* -dsp ............... Generate VC++ .dsp files, only if spec "win32-msvc".
+
|
 +
| -no-vcproj
 +
| Do not generate VC++ .vcproj files.
 +
|-
 +
| *
 +
| -vcproj
 +
| Generate VC++ .vcproj files, only if platform "win32-msvc.net".
-
    -no-vcproj ......... Do not generate VC++ .vcproj files.
+
|-
-
-vcproj ............ Generate VC++ .vcproj files, only if platform "win32-msvc.net".
+
|
 +
| -no-incredibuild-xge
 +
| Do not add IncrediBuild XGE distribution commands to custom build steps.
 +
|-
 +
| +
 +
| -incredibuild-xge
 +
| Add IncrediBuild XGE distribution commands to custom build steps. This will distribute MOC and UIC steps, and other custom buildsteps which are added to the INCREDIBUILD_XGE variable. (The IncrediBuild distribution commands are only added to Visual Studio projects)
-
    -no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to custom build steps.
+
|-
-
-incredibuild-xge .. Add IncrediBuild XGE distribution commands to custom build steps. This will distribute MOC and UIC steps, and other custom buildsteps which are added to the INCREDIBUILD_XGE variable. (The IncrediBuild distribution commands are only added to Visual Studio projects)
+
|
 +
| -no-plugin-manifest
 +
| Do not embed manifests in plugins.
 +
|-  
 +
| *
 +
| -plugin-manifest
 +
| Embed manifests in plugins.
-
    -no-plugin-manifest Do not embed manifests in plugins.
+
|-
-
* -plugin-manifest ... Embed manifests in plugins.
+
|
 +
| -no-qmake
 +
| Do not compile qmake.
 +
|-
 +
| *
 +
| -qmake
 +
| Compile qmake.
-
    -no-qmake .......... Do not compile qmake.
+
|-
-
* -qmake ............. Compile qmake.
+
|
 +
| -dont-process
 +
| Do not generate Makefiles/Project files. This will override -no-fast if specified.
 +
|-
 +
| *
 +
| -process
 +
| Generate Makefiles/Project files.
-
    -dont-process ...... Do not generate Makefiles/Project files. This will override -no-fast if specified.
+
|-  
-
* -process ........... Generate Makefiles/Project files.
+
|
 +
| -no-rtti
 +
| Do not compile runtime type information.
 +
|-
 +
| *
 +
| -rtti
 +
| Compile runtime type information.
-
    -no-rtti ........... Do not compile runtime type information.
+
|-
-
* -rtti .............. Compile runtime type information.
+
|
 +
| -no-mmx
 +
| Do not compile with use of MMX instructions
 +
|-
 +
| +
 +
| -mmx
 +
| Compile with use of MMX instructions
 +
|-
 +
|
 +
| -no-3dnow
 +
| Do not compile with use of 3DNOW instructions
 +
|-
 +
|
 +
| -no-sse
 +
| Do not compile with use of SSE instructions
 +
|-
 +
|
 +
| -no-sse2
 +
| Do not compile with use of SSE2 instructions
 +
|-
 +
| +
 +
| -direct3d
 +
| Compile in Direct3D support (experimental - see INSTALL for more info)
 +
|-
 +
|
 +
| -no-openssl
 +
| Do not compile in OpenSSL support
 +
|-
 +
| +
 +
| -openssl
 +
| Compile in run-time OpenSSL support
 +
|-
 +
|
 +
| -openssl-linked
 +
| Compile in linked OpenSSL support
 +
|-
 +
|
 +
| -no-dbus
 +
| Do not compile in D-Bus support
 +
|-
 +
| +
 +
| -dbus
 +
| Compile in D-Bus support and load libdbus-1 dynamically
 +
|-
 +
|
 +
| -dbus-linked
 +
| Compile in D-Bus support and link to libdbus-1
 +
|-
 +
|
 +
| -no-phonon
 +
| Do not compile in the Phonon module
 +
|-
 +
| +
 +
| -phonon
 +
| Compile the Phonon module (Phonon is built if a decent C++ compiler is used.)
 +
|-
 +
|
 +
| -no-phonon-backend
 +
| Do not compile the platform-specific Phonon backend-plugin
 +
|-
 +
| *
 +
| -phonon-backend
 +
| Compile in the platform-specific Phonon backend-plugin
 +
|-
 +
|
 +
| -no-webkit
 +
| Do not compile in the WebKit module
 +
|-
 +
| +
 +
| -webkit
 +
| Compile in the WebKit module (WebKit is built if a decent C++ compiler is used.)
 +
|-
 +
| *
 +
| -no-assistant-webkit
 +
| Не использовать WebKit как html rendering engine в Assistant'е.
 +
|-
 +
|
 +
| -assistant-webkit
 +
| Использовать WebKit как html rendering engine в Assistant'е. (Этот варинат доступен только если WebKit включен в сборку.)
 +
|- valign="top"
 +
|
 +
| -arch <arch>
 +
| Указание архитектуры
 +
Доступные значения для <arch>:
 +
{|
 +
|-
 +
| *
 +
| windows
 +
|-
 +
|
 +
| windowsce
 +
|-
 +
|
 +
| generic
 +
|}
-
    -no-mmx ............ Do not compile with use of MMX instructions
+
|-
-
+  -mmx ............... Compile with use of MMX instructions
+
|
-
    -no-3dnow .......... Do not compile with use of 3DNOW instructions
+
| -no-style-<style>
-
    -no-sse ............ Do not compile with use of SSE instructions
+
| Disable <style> entirely.
-
    -no-sse2 ........... Do not compile with use of SSE2 instructions
+
|- valign="top"
-
-direct3d .......... Compile in Direct3D support (experimental - see INSTALL for more info)
+
|
-
    -no-openssl ........ Do not compile in OpenSSL support
+
| -qt-style-<style>
-
+  -openssl ........... Compile in run-time OpenSSL support
+
| Enable <style> in the Qt Library.
-
    -openssl-linked .... Compile in linked OpenSSL support
+
Доступные стили:
-
    -no-dbus ........... Do not compile in D-Bus support
+
{|
-
+ -dbus .............. Compile in D-Bus support and load libdbus-1 dynamically
+
|-
-
    -dbus-linked ....... Compile in D-Bus support and link to libdbus-1
+
| *
-
    -no-phonon ......... Do not compile in the Phonon module
+
| windows
-
+ -phonon ............ Compile the Phonon module (Phonon is built if a decent C++ compiler is used.)
+
|-
-
    -no-phonon-backend . Do not compile the platform-specific Phonon backend-plugin
+
| +
-
* -phonon-backend .... Compile in the platform-specific Phonon backend-plugin
+
| windowsxp
-
    -no-webkit ......... Do not compile in the WebKit module
+
|-
-
-webkit ............ Compile in the WebKit module (WebKit is built if a decent C++ compiler is used.)
+
| +
-
* -no-assistant-webkit Не использовать WebKit как html rendering engine в Assistant'е.
+
| windowsvista
-
    -assistant-webkit .. Использовать WebKit как html rendering engine в Assistant'е. (Этот варинат доступен только если WebKit включен в сборку.)
+
|-
-
    -arch <arch> ....... Указание архитектуры
+
| *
-
                        Доступные значения для <arch>:
+
| plastique
-
*                        windows
+
|-
-
                          windowsce
+
| *
-
                          generic
+
| cleanlooks
 +
|-
 +
| *
 +
| motif
 +
|-
 +
| *
 +
| cde
 +
|-
 +
|
 +
| windowsce
 +
|-
 +
|
 +
| windowsmobile
-
    -no-style-<style> .. Disable <style> entirely.
+
|}
-
    -qt-style-<style> .. Enable <style> in the Qt Library.
+
|-  
-
                        Доступные стили:
+
|
-
*                        windows
+
| -loadconfig <config>
-
+                        windowsxp
+
| Run configure with the parameters from file configure_<config>.cache.
-
+                        windowsvista
+
|-
-
*                        plastique
+
|
-
*                        cleanlooks
+
| -saveconfig <config>
-
*                        motif
+
| Run configure and save the parameters in file configure_<config>.cache.
-
*                        cde
+
|-
-
                          windowsce
+
|
-
                          windowsmobile
+
| -redo
-
    -loadconfig <config> Run configure with the parameters from file configure_<config>.cache.
+
| Run configure with the same parameters as last time.
-
    -saveconfig <config> Run configure and save the parameters in file configure_<config>.cache.
+
|}
-
    -redo .............. Run configure with the same parameters as last time.
+
-
== Qt for Windows CE only: ==
+
== Qt только для Windows CE: ==
{|
{|
-
|+
+
|-
|  
|  
-
| -no-iwmmxt
+
| width="150px" | -no-iwmmxt
| Не компилировать с использованием IWMMXT инструкций
| Не компилировать с использованием IWMMXT инструкций
-
|+
+
|-
| +
| +
| -iwmmxt
| -iwmmxt
| Компилировать с использованием IWMMXT инструкций (только Qt для Windows CE Arm)
| Компилировать с использованием IWMMXT инструкций (только Qt для Windows CE Arm)
-
|+
+
|-
 +
| &nbsp;
 +
|-
| *
| *
| -no-crt
| -no-crt
| Do not add the C runtime to default deployment rules
| Do not add the C runtime to default deployment rules
-
|+
+
|-
|  
|  
| -qt-crt
| -qt-crt
| Qt identifies C runtime during project generation
| Qt identifies C runtime during project generation
-
|+
+
|-
 +
| &nbsp;
 +
|-
|   
|   
| -crt <path>
| -crt <path>
| Specify path to C runtime used for project generation.
| Specify path to C runtime used for project generation.
-
|+
+
|-
|
|
| -no-cetest
| -no-cetest
| Do not compile Windows CE remote test application
| Do not compile Windows CE remote test application
-
|+
+
|-
| +
| +
| -cetest
| -cetest
| Compile Windows CE remote test application
| Compile Windows CE remote test application
-
|+
+
|-
|
|
| -signature <file>
| -signature <file>
| Use file for signing the target project
| Use file for signing the target project
-
|+
+
|-
|
|
| -opengl-es-cm
| -opengl-es-cm
| Enable support for OpenGL ES Common
| Enable support for OpenGL ES Common
-
|+
+
|-
|
|
| -opengl-es-cl
| -opengl-es-cl
| Enable support for OpenGL ES Common Lite
| Enable support for OpenGL ES Common Lite
|}
|}

Текущая версия на 08:01, 23 декабря 2008

Содержание

[править] Опции конфигурации:

The defaults (*) are usually acceptable. A plus (+) denotes a default value that needs to be evaluated. If the evaluation succeeds, the feature is included. Here is a short explanation of each option:

[править] Базовые

-release Compile and link Qt with debugging turned off.
* -debug Compile and link Qt with debugging turned on.
+ -debug-and-release Compile and link two Qt libraries, with and without debugging turned on.
* -shared Create and use shared Qt libraries.
-static Create and use static Qt libraries.
* -no-fast Configure Qt normally by generating Makefiles for all project files.
-fast Configure Qt quickly by generating Makefiles only for library and subdirectory targets. All other Makefiles are created as wrappers which will in turn run qmake
-no-exceptions Disable exceptions on platforms that support it.
* -exceptions Enable exceptions on platforms that support it.
-no-accessibility Do not compile Windows Active Accessibility support.
* -accessibility Compile Windows Active Accessibility support.
-no-stl Do not compile STL support.
* -stl Compile STL support.
-no-sql-<driver> Disable SQL <driver> entirely, by default none are turned on.
-qt-sql-<driver> Enable a SQL <driver> in the Qt Library.
-plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at runtime.

Доступные значения для <driver>:

mysql
psql
oci
odbc
tds
db2
+ sqlite
sqlite2
ibase

(drivers marked with a '+' have been detected as available on this system)

-system-sqlite Use sqlite from the operating system.
-no-qt3support Disables the Qt 3 support functionality.
-no-opengl Disables OpenGL functionality
-platform <spec> The operating system and compiler you are building on. (default %QMAKESPEC%)
-xplatform <spec> The operating system and compiler you are cross compiling to.

See the README file for a list of supported operating systems and compilers.

-qtnamespace <namespace> Wraps all Qt library code in 'namespace name {...}
-D <define> Add an explicit define to the preprocessor.
-I <includepath> Add an explicit include path.
-L <librarypath> Add an explicit library path.
-l <libraryname> Add an explicit library name, residing in a librarypath.
-help, -h, -? Display this information.

[править] Сторонние библиотеки:

-qt-zlib Использовать zlib комплект с Qt.
+ -system-zlib Использовать zlib операционной системы. Смотрите http://www.gzip.org/zlib
 
-no-gif Не компилировать plugin для поддержки GIF .
+ -qt-gif Компилировать plugin для поддержки GIF. Смотрите также src/plugins/imageformats/gif/qgifhandler.h
 
-no-libpng Не компилировать поддежку PNG.
-qt-libpng Использовать libpng комплект с Qt.
+ -system-libpng Использовать libpng из операционной системы. Смотрите http://www.libpng.org/pub/png
 
-no-libmng Не компилировать поддержку MNG.
-qt-libmng Использовать libmng комплект с Qt.
+ -system-libmng Использовать libmng из операционной системы. Смотрите http://www.libmng.com
 
-no-libtiff Не компилировать plugin для поддержки TIFF.
-qt-libtiff Использовать libtiff комплект с Qt.
+ -system-libtiff Использовать libtiff из операционной системы. Смотрите http://www.libtiff.org
 
-no-libjpeg Не компилировать plugin для поддержки JPEG.
-qt-libjpeg Использовать libjpeg комплект с Qt.
+ -system-libjpeg Использовать libjpeg из операционной системы. Смотрите http://www.ijg.org

[править] Qt только для Windows:

-no-dsp Do not generate VC++ .dsp files.
* -dsp Generate VC++ .dsp files, only if spec "win32-msvc".
-no-vcproj Do not generate VC++ .vcproj files.
* -vcproj Generate VC++ .vcproj files, only if platform "win32-msvc.net".
-no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to custom build steps.
+ -incredibuild-xge Add IncrediBuild XGE distribution commands to custom build steps. This will distribute MOC and UIC steps, and other custom buildsteps which are added to the INCREDIBUILD_XGE variable. (The IncrediBuild distribution commands are only added to Visual Studio projects)
-no-plugin-manifest Do not embed manifests in plugins.
* -plugin-manifest Embed manifests in plugins.
-no-qmake Do not compile qmake.
* -qmake Compile qmake.
-dont-process Do not generate Makefiles/Project files. This will override -no-fast if specified.
* -process Generate Makefiles/Project files.
-no-rtti Do not compile runtime type information.
* -rtti Compile runtime type information.
-no-mmx Do not compile with use of MMX instructions
+ -mmx Compile with use of MMX instructions
-no-3dnow Do not compile with use of 3DNOW instructions
-no-sse Do not compile with use of SSE instructions
-no-sse2 Do not compile with use of SSE2 instructions
+ -direct3d Compile in Direct3D support (experimental - see INSTALL for more info)
-no-openssl Do not compile in OpenSSL support
+ -openssl Compile in run-time OpenSSL support
-openssl-linked Compile in linked OpenSSL support
-no-dbus Do not compile in D-Bus support
+ -dbus Compile in D-Bus support and load libdbus-1 dynamically
-dbus-linked Compile in D-Bus support and link to libdbus-1
-no-phonon Do not compile in the Phonon module
+ -phonon Compile the Phonon module (Phonon is built if a decent C++ compiler is used.)
-no-phonon-backend Do not compile the platform-specific Phonon backend-plugin
* -phonon-backend Compile in the platform-specific Phonon backend-plugin
-no-webkit Do not compile in the WebKit module
+ -webkit Compile in the WebKit module (WebKit is built if a decent C++ compiler is used.)
* -no-assistant-webkit Не использовать WebKit как html rendering engine в Assistant'е.
-assistant-webkit Использовать WebKit как html rendering engine в Assistant'е. (Этот варинат доступен только если WebKit включен в сборку.)
-arch <arch> Указание архитектуры

Доступные значения для <arch>:

* windows
windowsce
generic
-no-style-<style> Disable <style> entirely.
-qt-style-<style> Enable <style> in the Qt Library.

Доступные стили:

* windows
+ windowsxp
+ windowsvista
* plastique
* cleanlooks
* motif
* cde
windowsce
windowsmobile
-loadconfig <config> Run configure with the parameters from file configure_<config>.cache.
-saveconfig <config> Run configure and save the parameters in file configure_<config>.cache.
-redo Run configure with the same parameters as last time.

[править] Qt только для Windows CE:

-no-iwmmxt Не компилировать с использованием IWMMXT инструкций
+ -iwmmxt Компилировать с использованием IWMMXT инструкций (только Qt для Windows CE Arm)
 
* -no-crt Do not add the C runtime to default deployment rules
-qt-crt Qt identifies C runtime during project generation
 
-crt <path> Specify path to C runtime used for project generation.
-no-cetest Do not compile Windows CE remote test application
+ -cetest Compile Windows CE remote test application
-signature <file> Use file for signing the target project
-opengl-es-cm Enable support for OpenGL ES Common
-opengl-es-cl Enable support for OpenGL ES Common Lite