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

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

(Различия между версиями)
Перейти к: навигация, поиск
(Новая: Опции конфигурации: The defaults (*) are usually acceptable. A plus (+) denotes a default value that needs to be evaluated. If the evaluation succeeds, the feature is in...)
Строка 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:
+
<nowiki>
 +
(*) отмечаются значения по умолчанию, которое включено. (+) означает значение по умолчанию, которая должна быть включено. Вот краткое описание каждого варианта:
     -release ........... Compile and link Qt with debugging turned off.
     -release ........... Compile and link Qt with debugging turned off.
  *  -debug ............. Compile and link Qt with debugging turned on.
  *  -debug ............. Compile and link Qt with debugging turned on.
-
  +  -debug-and-release . Compile and link two Qt libraries, with and without
+
  +  -debug-and-release . Compile and link two Qt libraries, with and without debugging turned on.
-
                        debugging turned on.
+
  *  -shared ............ Create and use shared Qt libraries.
  *  -shared ............ Create and use shared Qt libraries.
     -static ............ Create and use static Qt libraries.
     -static ............ Create and use static Qt libraries.
-
  *  -no-fast ........... Configure Qt normally by generating Makefiles for all
+
  *  -no-fast ........... Configure Qt normally by generating Makefiles for all project files.
-
                        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
-
     -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.
     -no-exceptions ..... Disable exceptions on platforms that support it.
Строка 24: Строка 21:
  *  -stl ............... Compile STL support.
  *  -stl ............... Compile STL support.
-
     -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are
+
     -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are turned on.
-
                        turned on.
+
     -qt-sql-<driver> ... Enable a SQL <driver> in the Qt Library.
     -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 run
+
     -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at runtime.
-
                        time.
+
                         Доступные значения для <driver>:
-
                         Available values for <driver>:
+
                           mysql
                           mysql
                           psql
                           psql
Строка 39: Строка 34:
                           sqlite2
                           sqlite2
                           ibase
                           ibase
-
                         (drivers marked with a '+' have been detected as
+
                         (drivers marked with a '+' have been detected as available on this system)
-
                        available on this system)
+
     -system-sqlite ..... Use sqlite from the operating system.
     -system-sqlite ..... Use sqlite from the operating system.
Строка 48: Строка 42:
     -no-opengl ......... Disables OpenGL functionality
     -no-opengl ......... Disables OpenGL functionality
-
     -platform <spec> ... The operating system and compiler you are building on.
+
     -platform <spec> ... The operating system and compiler you are building on. (default %QMAKESPEC%)
-
                        (default %QMAKESPEC%)
+
-
     -xplatform <spec> .. The operating system and compiler you are cross
+
     -xplatform <spec> .. The operating system and compiler you are cross compiling to.
-
                        compiling to.
+
-
                         See the README file for a list of supported operating
+
                         See the README file for a list of supported operating systems and compilers.
-
                        systems and compilers.
+
     -qtnamespace <namespace> Wraps all Qt library code in 'namespace name {...}
     -qtnamespace <namespace> Wraps all Qt library code in 'namespace name {...}
Строка 62: Строка 53:
     -I <includepath> ... Add an explicit include path.
     -I <includepath> ... Add an explicit include path.
     -L <librarypath> ... Add an explicit library path.
     -L <librarypath> ... Add an explicit library path.
-
     -l <libraryname> ... Add an explicit library name, residing in a
+
     -l <libraryname> ... Add an explicit library name, residing in a librarypath.
-
                        librarypath.
+
     -help, -h, -? ...... Display this information.
     -help, -h, -? ...... Display this information.
-
Third Party Libraries:
+
== Third Party Libraries: ==
     -qt-zlib ........... Use the zlib bundled with Qt.
     -qt-zlib ........... Use the zlib bundled with Qt.
-
  +  -system-zlib ....... Use zlib from the operating system.
+
  +  -system-zlib ....... Use zlib from the operating system. See http://www.gzip.org/zlib
-
                        See http://www.gzip.org/zlib
+
     -no-gif ............ Do not compile the plugin for GIF reading support.
     -no-gif ............ Do not compile the plugin for GIF reading support.
-
  +  -qt-gif ............ Compile the plugin for GIF reading support.
+
  +  -qt-gif ............ Compile the plugin for GIF reading support. See also src/plugins/imageformats/gif/qgifhandler.h
-
                        See also src/plugins/imageformats/gif/qgifhandler.h
+
     -no-libpng ......... Do not compile in PNG support.
     -no-libpng ......... Do not compile in PNG support.
     -qt-libpng ......... Use the libpng bundled with Qt.
     -qt-libpng ......... Use the libpng bundled with Qt.
-
  +  -system-libpng ..... Use libpng from the operating system.
+
  +  -system-libpng ..... Use libpng from the operating system. See http://www.libpng.org/pub/png
-
                        See http://www.libpng.org/pub/png
+
     -no-libmng ......... Do not compile in MNG support.
     -no-libmng ......... Do not compile in MNG support.
     -qt-libmng ......... Use the libmng bundled with Qt.
     -qt-libmng ......... Use the libmng bundled with Qt.
-
  +  -system-libmng ..... Use libmng from the operating system.
+
  +  -system-libmng ..... Use libmng from the operating system. See See http://www.libmng.com
-
                        See See http://www.libmng.com
+
     -no-libtiff ........ Do not compile the plugin for TIFF support.
     -no-libtiff ........ Do not compile the plugin for TIFF support.
     -qt-libtiff ........ Use the libtiff bundled with Qt.
     -qt-libtiff ........ Use the libtiff bundled with Qt.
-
  +  -system-libtiff .... Use libtiff from the operating system.
+
  +  -system-libtiff .... Use libtiff from the operating system. See http://www.libtiff.org
-
                        See http://www.libtiff.org
+
     -no-libjpeg ........ Do not compile the plugin for JPEG support.
     -no-libjpeg ........ Do not compile the plugin for JPEG support.
     -qt-libjpeg ........ Use the libjpeg bundled with Qt.
     -qt-libjpeg ........ Use the libjpeg bundled with Qt.
-
  +  -system-libjpeg .... Use libjpeg from the operating system.
+
  +  -system-libjpeg .... Use libjpeg from the operating system. See http://www.ijg.org
-
                        See http://www.ijg.org
+
-
Qt for Windows only:
+
== Qt for Windows only: ==
     -no-dsp ............ Do not generate VC++ .dsp files.
     -no-dsp ............ Do not generate VC++ .dsp files.
Строка 103: Строка 87:
     -no-vcproj ......... Do not generate VC++ .vcproj files.
     -no-vcproj ......... Do not generate VC++ .vcproj files.
-
  *  -vcproj ............ Generate VC++ .vcproj files, only if platform
+
  *  -vcproj ............ Generate VC++ .vcproj files, only if platform "win32-msvc.net".
-
                        "win32-msvc.net".
+
-
     -no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to
+
     -no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to custom build steps.
-
                        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)
-
  +  -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.
     -no-plugin-manifest Do not embed manifests in plugins.
Строка 121: Строка 98:
  *  -qmake ............. Compile qmake.
  *  -qmake ............. Compile qmake.
-
     -dont-process ...... Do not generate Makefiles/Project files. This will
+
     -dont-process ...... Do not generate Makefiles/Project files. This will override -no-fast if specified.
-
                        override -no-fast if specified.
+
  *  -process ........... Generate Makefiles/Project files.
  *  -process ........... Generate Makefiles/Project files.
Строка 133: Строка 109:
     -no-sse ............ Do not compile with use of SSE instructions
     -no-sse ............ Do not compile with use of SSE instructions
     -no-sse2 ........... Do not compile with use of SSE2 instructions
     -no-sse2 ........... Do not compile with use of SSE2 instructions
-
  +  -direct3d .......... Compile in Direct3D support (experimental - see
+
  +  -direct3d .......... Compile in Direct3D support (experimental - see INSTALL for more info)
-
                        INSTALL for more info)
+
     -no-openssl ........ Do not compile in OpenSSL support
     -no-openssl ........ Do not compile in OpenSSL support
  +  -openssl ........... Compile in run-time OpenSSL support
  +  -openssl ........... Compile in run-time OpenSSL support
     -openssl-linked .... Compile in linked OpenSSL support
     -openssl-linked .... Compile in linked OpenSSL support
     -no-dbus ........... Do not compile in D-Bus support
     -no-dbus ........... Do not compile in D-Bus support
-
  +  -dbus .............. Compile in D-Bus support and load libdbus-1 dynamicall
+
  +  -dbus .............. Compile in D-Bus support and load libdbus-1 dynamically
-
                        y
+
     -dbus-linked ....... Compile in D-Bus support and link to libdbus-1
     -dbus-linked ....... Compile in D-Bus support and link to libdbus-1
     -no-phonon ......... Do not compile in the Phonon module
     -no-phonon ......... Do not compile in the Phonon module
-
  +  -phonon ............ Compile the Phonon module (Phonon is built if a decent
+
  +  -phonon ............ Compile the Phonon module (Phonon is built if a decent C++ compiler is used.)
-
                        C++ compiler is used.)
+
     -no-phonon-backend . Do not compile the platform-specific Phonon backend-plugin
-
     -no-phonon-backend . Do not compile the platform-specific Phonon backend-pl
+
-
                        ugin
+
  *  -phonon-backend .... Compile in 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
     -no-webkit ......... Do not compile in the WebKit module
-
  +  -webkit ............ Compile in the WebKit module (WebKit is built if a
+
  +  -webkit ............ Compile in the WebKit module (WebKit is built if a decent C++ compiler is used.)
-
                        decent C++ compiler is used.)
+
  *  -no-assistant-webkit Не использовать WebKit как html rendering engine в Assistant'е.
-
  *  -no-assistant-webkit Do not use WebKit as html rendering engine in Assistan
+
     -assistant-webkit .. Использовать WebKit как html rendering engine в Assistant. (Этот варинат доступен только если WebKit включен в сборку.)
-
                        t.
+
     -arch <arch> ....... Указание архитектуры
-
     -assistant-webkit .. Use WebKit as html rendering engine in Assistant.
+
                         Доступные значения для <arch>:
-
                        (This is only available if WebKit is built.)
+
-
     -arch <arch> ....... Specify an architecture.
+
-
                         Available values for <arch>:
+
  *                        windows
  *                        windows
                           windowsce
                           windowsce
Строка 163: Строка 132:
     -no-style-<style> .. Disable <style> entirely.
     -no-style-<style> .. Disable <style> entirely.
     -qt-style-<style> .. Enable <style> in the Qt Library.
     -qt-style-<style> .. Enable <style> in the Qt Library.
-
                         Available styles:
+
                         Доступные стили:
  *                        windows
  *                        windows
  +                        windowsxp
  +                        windowsxp
Строка 173: Строка 142:
                           windowsce
                           windowsce
                           windowsmobile
                           windowsmobile
-
 
+
     -loadconfig <config> Run configure with the parameters from file configure_<config>.cache.
-
     -loadconfig <config> Run configure with the parameters from file configure_
+
     -saveconfig <config> Run configure and save the parameters in file configure_<config>.cache.
-
                        <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.
     -redo .............. Run configure with the same parameters as last time.
-
Qt for Windows CE only:
+
== Qt for Windows CE only: ==
-
 
+
     -no-iwmmxt ......... Do not compile with use of IWMMXT instructions
     -no-iwmmxt ......... Do not compile with use of IWMMXT instructions
-
  +  -iwmmxt ............ Do compile with use of IWMMXT instructions (Qt for
+
  +  -iwmmxt ............ Do compile with use of IWMMXT instructions (Qt for Windows CE on Arm only)
-
                        Windows CE on Arm only)
+
  *  -no-crt ............ Do not add the C runtime to default deployment rules
  *  -no-crt ............ Do not add the C runtime to default deployment rules
     -qt-crt ............ Qt identifies C runtime during project generation
     -qt-crt ............ Qt identifies C runtime during project generation
Строка 193: Строка 157:
     -opengl-es-cm ...... Enable support for OpenGL ES Common
     -opengl-es-cm ...... Enable support for OpenGL ES Common
     -opengl-es-cl ...... Enable support for OpenGL ES Common Lite
     -opengl-es-cl ...... Enable support for OpenGL ES Common Lite
 +
</nowiki>

Версия 06:57, 23 декабря 2008

Опции конфигурации:

(*) отмечаются значения по умолчанию, которое включено. (+) означает значение по умолчанию, которая должна быть включено. Вот краткое описание каждого варианта: -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. == Third Party Libraries: == -qt-zlib ........... Use the zlib bundled with Qt. + -system-zlib ....... Use zlib from the operating system. See http://www.gzip.org/zlib -no-gif ............ Do not compile the plugin for GIF reading support. + -qt-gif ............ Compile the plugin for GIF reading support. See also src/plugins/imageformats/gif/qgifhandler.h -no-libpng ......... Do not compile in PNG support. -qt-libpng ......... Use the libpng bundled with Qt. + -system-libpng ..... Use libpng from the operating system. See http://www.libpng.org/pub/png -no-libmng ......... Do not compile in MNG support. -qt-libmng ......... Use the libmng bundled with Qt. + -system-libmng ..... Use libmng from the operating system. See See http://www.libmng.com -no-libtiff ........ Do not compile the plugin for TIFF support. -qt-libtiff ........ Use the libtiff bundled with Qt. + -system-libtiff .... Use libtiff from the operating system. See http://www.libtiff.org -no-libjpeg ........ Do not compile the plugin for JPEG support. -qt-libjpeg ........ Use the libjpeg bundled with Qt. + -system-libjpeg .... Use libjpeg from the operating system. See http://www.ijg.org == Qt for Windows only: == -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 for Windows CE only: == -no-iwmmxt ......... Do not compile with use of IWMMXT instructions + -iwmmxt ............ Do compile with use of IWMMXT instructions (Qt for Windows CE on Arm only) * -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