Участник:Lit-uriy/Песочница1

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

< Участник:Lit-uriy(Различия между версиями)
Перейти к: навигация, поиск
(Параметры установки)
(Параметры конфигурации)
 
(4 промежуточные версии не показаны)
Строка 1: Строка 1:
== 1-ый вариант ==
== 1-ый вариант ==
 +
<!--
=== Опции конфигурирования ===
=== Опции конфигурирования ===
;Qt-prefix <dir>: Префикс для установки в Линуксе;
;Qt-prefix <dir>: Префикс для установки в Линуксе;
Строка 69: Строка 70:
;-xkb: --
;-xkb: --
;-glib: --
;-glib: --
 +
-->
== 2-ой вариант ==
== 2-ой вариант ==
Строка 101: Строка 103:
=== Параметры конфигурации ===
=== Параметры конфигурации ===
-
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.
+
     -release ........... Компиляция и линковка Qt с выключеной отладкой.
-
  *  -debug ............. Compile and link Qt with debugging turned on.
+
  *  -debug ............. Компиляция и линковка Qt с включеной отладкой.
-
  +  -debug-and-release . Compile and link two Qt libraries, with and without
+
  +  -debug-and-release . Компиляция и линковка двух библиотек Qt,
-
                         debugging turned on.
+
                         с включеной и выключеной отладкой.
-
  *  -shared ............ Create and use shared Qt libraries.
+
  *  -shared ............ Создает и использует разделяемые библиотеки Qt.
-
     -static ............ Create and use static Qt libraries.
+
     -static ............ Создает и использует статические библиотеки Qt.
-
  *  -no-fast ........... Configure Qt normally by generating Makefiles for all
+
  *  -no-fast ........... Нормальная конфигурация Qt, генерируются Make-файлы
-
                         project files.
+
                         для всех проектных файлов.
-
     -fast .............. Configure Qt quickly by generating Makefiles only for
+
     -fast .............. Быстрая конфигурация Qt, генерируются Make-файлы только для
-
                         library and subdirectory targetsAll other Makefiles
+
                         библиотеки и ее подкаталоговВсе другие Make-файлы
-
                         are created as wrappers which will in turn run qmake
+
                         созданы как обертки, которые будут запускаться [[qmake]]
     -no-exceptions ..... Disable exceptions on platforms that support it.
     -no-exceptions ..... Disable exceptions on platforms that support it.
Строка 157: Строка 157:
     -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.
Строка 171: Строка 171:
     -help, -h, -? ...... Display this information.
     -help, -h, -? ...... Display this information.
-
=== Бибилиотеки третьих сторон ===
+
=== Библиотеки третьих сторон ===
-
     -qt-zlib ........... Use the zlib bundled with Qt.
+
     -qt-zlib ........... Использовать zlib встроеную в Qt.
-
  +  -system-zlib ....... Use zlib from the operating system.
+
  +  -system-zlib ....... Использовать zlib из операционной системы.
-
                         See http://www.gzip.org/zlib
+
                         См. http://www.gzip.org/zlib
-
     -no-gif ............ Do not compile the plugin for GIF reading support.
+
     -no-gif ............ Не копилировать плагин для поддержки отрисовки GIF.
-
  +  -qt-gif ............ Compile the plugin for GIF reading support.
+
  +  -qt-gif ............ Копилировать плагин для поддержки отрисовки GIF.
-
                         See also src/plugins/imageformats/gif/qgifhandler.h
+
                         См. также src/plugins/imageformats/gif/qgifhandler.h
-
     -no-libpng ......... Do not compile in PNG support.
+
     -no-libpng ......... Не копилировать поддержку PNG.
-
     -qt-libpng ......... Use the libpng bundled with Qt.
+
     -qt-libpng ......... Использовать libpng встроеную в Qt.
-
  +  -system-libpng ..... Use libpng from the operating system.
+
  +  -system-libpng ..... Использовать libpng из операционной системы.
-
                         See http://www.libpng.org/pub/png
+
                         См. http://www.libpng.org/pub/png
-
     -no-libmng ......... Do not compile in MNG support.
+
     -no-libmng ......... Не копилировать поддержку MNG.
-
     -qt-libmng ......... Use the libmng bundled with Qt.
+
     -qt-libmng ......... Использовать libmng встроеную в Qt.
-
  +  -system-libmng ..... Use libmng from the operating system.
+
  +  -system-libmng ..... Использовать libmng из операционной системы.
-
                         See See http://www.libmng.com
+
                         См. http://www.libmng.com
-
     -no-libtiff ........ Do not compile the plugin for TIFF support.
+
     -no-libtiff ........ Не копилировать плагин для поддержки отрисовки TIFF.
-
     -qt-libtiff ........ Use the libtiff bundled with Qt.
+
     -qt-libtiff ........ Использовать libtiff встроеную в Qt.
-
  +  -system-libtiff .... Use libtiff from the operating system.
+
  +  -system-libtiff .... Использовать libtiff из операционной системы.
-
                         See http://www.libtiff.org
+
                         См. http://www.libtiff.org
-
     -no-libjpeg ........ Do not compile the plugin for JPEG support.
+
     -no-libjpeg ........ Не копилировать плагин для поддержки отрисовки JPEG.
-
     -qt-libjpeg ........ Use the libjpeg bundled with Qt.
+
     -qt-libjpeg ........ Использовать libjpeg встроеную в Qt.
-
  +  -system-libjpeg .... Use libjpeg from the operating system.
+
  +  -system-libjpeg .... Использовать libjpeg из операционной системы.
-
                         See http://www.ijg.org
+
                         См. http://www.ijg.org
=== Только для Qt/Windows ===
=== Только для Qt/Windows ===
-
     -no-dsp ............ Do not generate VC++ .dsp files.
+
     -no-dsp ............ Не создавать VC++ .dsp-файлы.
-
  *  -dsp ............... Generate VC++ .dsp files, only if spec "win32-msvc".
+
  *  -dsp ............... Создавать VC++ .dsp-файлы, только если
 +
                        определена платформа "win32-msvc".
-
     -no-vcproj ......... Do not generate VC++ .vcproj files.
+
     -no-vcproj ......... Не создавать VC++ .vcproj-файлы.
-
  *  -vcproj ............ Generate VC++ .vcproj files, only if platform
+
  *  -vcproj ............ Создавать VC++ .vcproj-файлы, только если
-
                         "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  
Строка 217: Строка 218:
                         to Visual Studio projects)
                         to Visual Studio projects)
-
     -no-qmake .......... Do not compile qmake.
+
     -no-qmake .......... Не компилировать qmake.
-
  *  -qmake ............. Compile qmake.
+
  *  -qmake ............. Компилировать qmake.
-
     -dont-process ...... Do not generate Makefiles/Project files. This will
+
     -dont-process ...... Не создавать Makefiles/Project-файлы. Это перекрывает
-
                         override -no-fast if specified.
+
                         параметр ''-no-fast'' если он определен.
-
  *  -process ........... Generate Makefiles/Project files.
+
  *  -process ........... Создавать Makefiles/Project-файлы.
-
     -no-rtti ........... Do not compile runtime type information.
+
     -no-rtti ........... Не компилировать информацию о типах времени выполнения.
-
  *  -rtti .............. Compile runtime type information.
+
  *  -rtti .............. Компилировать информацию о типах времени выполнения.
-
     -no-mmx ............ Do not compile with use of MMX instructions
+
     -no-mmx ............ Не компилировать с использованием инструкций MMX.
-
  +  -mmx ............... Compile with use of MMX instructions
+
  +  -mmx ............... Компилировать с использованием инструкций MMX.
-
     -no-3dnow .......... Do not compile with use of 3DNOW instructions
+
     -no-3dnow .......... Не компилировать с использованием инструкций 3DNOW.
-
     -no-sse ............ Do not compile with use of SSE instructions
+
     -no-sse ............ Не компилировать с использованием инструкций SSE.
-
     -no-sse2 ........... Do not compile with use of SSE2 instructions
+
     -no-sse2 ........... Не компилировать с использованием инструкций SSE2.
-
  +  -direct3d .......... Compile in Direct3D support (experimental - see
+
  +  -direct3d .......... Компилировать с поддержкой Direct3D (эксперементально - для
-
                         INSTALL for more info)
+
                         получения большей информации см. файл INSTALL)
-
     -no-openssl ........ Do not compile in OpenSSL support
+
     -no-openssl ........ Не компилировать с поддержкой OpenSSL.
  +  -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 ........... Не компилировать с поддержкой D-Bus.
-
  +  -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 ......... Не компилировать модуль Phonon.
  +  -phonon ............ Compile in the Phonon module (Phonon is built if a  
  +  -phonon ............ Compile in the Phonon module (Phonon is built if a  
                         decent C++ compiler is used.)
                         decent C++ compiler is used.)
-
     -no-webkit ......... Do not compile in the WebKit module
+
     -no-webkit ......... DНе компилировать модуль WebKit.
  +  -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.)
-
     -arch <arch> ....... Specify an architecture.
+
     -arch <arch> ....... Определение архитектуры.
-
                         Available values for <arch>:
+
                         Доступные значения для <arch>:
  *                        windows
  *                        windows
                           windowsce
                           windowsce
Строка 255: Строка 255:
     -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
Строка 266: Строка 266:
                           windowsmobile
                           windowsmobile
-
     -loadconfig <config> Run configure with the parameters from file configure_
+
     -loadconfig <config> Запускать [[Qt configure|configure]] с параметрами из файла
-
                         <config>.cache.
+
                         ''configure_<config>.cache''.
-
     -saveconfig <config> Run configure and save the parameters in file
+
     -saveconfig <config> Запускать [[Qt configure|configure]] и сохранять параметры в файл
-
                         configure_<config>.cache.
+
                         ''configure_<config>.cache''.
-
     -redo .............. Run configure with the same parameters as last time.
+
     -redo .............. Запускать [[Qt configure|configure]] с теми же параметрами,
 +
                        что и в последний раз.
=== Только для Qt/WinCE ===
=== Только для Qt/WinCE ===

Текущая версия на 09:02, 26 декабря 2008

Содержание

[править] 1-ый вариант

[править] 2-ой вариант

[править] Использование

configure [-buildkey <key>]
      [-release] [-debug] [-debug-and-release] [-shared] [-static]
      [-no-fast] [-fast] [-no-exceptions] [-exceptions]
      [-no-accessibility] [-accessibility] [-no-rtti] [-rtti]
      [-no-stl] [-stl] [-no-sql-<driver>] [-qt-sql-<driver>]
      [-plugin-sql-<driver>] [-system-sqlite] [-arch <arch>]
      [-D <define>] [-I <includepath>] [-L <librarypath>]
      [-help] [-no-dsp] [-dsp] [-no-vcproj] [-vcproj]
      [-no-qmake] [-qmake] [-dont-process] [-process]
      [-no-style-<style>] [-qt-style-<style>] [-redo]
      [-saveconfig <config>] [-loadconfig <config>]
      [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libpng]
      [-qt-libpng] [-system-libpng] [-no-libtiff] [-qt-libtiff]
      [-system-libtiff] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg]
      [-no-libmng] [-qt-libmng] [-system-libmng] [-no-qt3support]
      [-mmx] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
      [-no-iwmmxt] [-iwmmxt] [-direct3d] [-openssl] [-openssl-linked]
      [-no-openssl] [-no-dbus] [-dbus] [-dbus-linked] [-platform <spec>]
      [-qtnamespace <namespace>] [-no-phonon] [-phonon]
      [-no-webkit] [-webkit]

[править] Параметры установки

Вы можете использовать эти параметры, чтобы включить строгую загрузку подключаемых модулей:

   -buildkey <key> .... Build the Qt library and plugins using the specified 
                        <key>.  When the library loads plugins, it will only 
                        load those that have a matching <key>.

[править] Параметры конфигурации

Параметры по-умолчанию (*), как правило, являются приемлемыми. Плюс (+) означает значение по умолчанию, которое должно быть проверено. Если проверка успешна, функциональность включается. от краткое описание каждого варианта:

   -release ........... Компиляция и линковка Qt с выключеной отладкой.
*  -debug ............. Компиляция и линковка Qt с включеной отладкой.
+  -debug-and-release . Компиляция и линковка двух библиотек Qt,
                        с включеной и выключеной отладкой.
*  -shared ............ Создает и использует разделяемые библиотеки Qt.
   -static ............ Создает и использует статические библиотеки Qt.
*  -no-fast ........... Нормальная конфигурация Qt, генерируются Make-файлы
                        для всех проектных файлов.
   -fast .............. Быстрая конфигурация Qt, генерируются Make-файлы только для 
                        библиотеки и ее подкаталогов.  Все другие Make-файлы
                        созданы как обертки, которые будут запускаться 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 run
                        time.
                        Available values for <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 ............ Не копилировать плагин для поддержки отрисовки GIF.
+  -qt-gif ............ Копилировать плагин для поддержки отрисовки 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 ........ Не копилировать плагин для поддержки отрисовки TIFF.
   -qt-libtiff ........ Использовать libtiff встроеную в Qt.
+  -system-libtiff .... Использовать libtiff из операционной системы.
                        См. http://www.libtiff.org
   -no-libjpeg ........ Не копилировать плагин для поддержки отрисовки JPEG.
   -qt-libjpeg ........ Использовать libjpeg встроеную в Qt.
+  -system-libjpeg .... Использовать libjpeg из операционной системы.
                        См. http://www.ijg.org

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

   -no-dsp ............ Не создавать VC++ .dsp-файлы.
*  -dsp ............... Создавать VC++ .dsp-файлы, только если
                        определена платформа "win32-msvc".
   -no-vcproj ......... Не создавать VC++ .vcproj-файлы.
*  -vcproj ............ Создавать VC++ .vcproj-файлы, только если
                        определена платформа "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-qmake .......... Не компилировать qmake.
*  -qmake ............. Компилировать qmake.
   -dont-process ...... Не создавать Makefiles/Project-файлы. Это перекрывает
                        параметр -no-fast если он определен.
*  -process ........... Создавать Makefiles/Project-файлы.
   -no-rtti ........... Не компилировать информацию о типах времени выполнения.
*  -rtti .............. Компилировать информацию о типах времени выполнения.
   -no-mmx ............ Не компилировать с использованием инструкций MMX.
+  -mmx ............... Компилировать с использованием инструкций MMX.
   -no-3dnow .......... Не компилировать с использованием инструкций 3DNOW.
   -no-sse ............ Не компилировать с использованием инструкций SSE.
   -no-sse2 ........... Не компилировать с использованием инструкций SSE2.
+  -direct3d .......... Компилировать с поддержкой Direct3D (эксперементально - для
                        получения большей информации см. файл INSTALL)
   -no-openssl ........ Не компилировать с поддержкой OpenSSL.
+  -openssl ........... Compile in run-time OpenSSL support
   -openssl-linked .... Compile in linked OpenSSL support
   -no-dbus ........... Не компилировать с поддержкой D-Bus.
+  -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 ......... Не компилировать модуль Phonon.
+  -phonon ............ Compile in the Phonon module (Phonon is built if a 
                        decent C++ compiler is used.)
   -no-webkit ......... DНе компилировать модуль WebKit.
+  -webkit ............ Compile in the WebKit module (WebKit is built if a 
                        decent C++ compiler is used.)
   -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> Запускать configure с параметрами из файла
                        configure_<config>.cache.
   -saveconfig <config> Запускать configure и сохранять параметры в файл 
                        configure_<config>.cache.
   -redo .............. Запускать configure с теми же параметрами,
                        что и в последний раз.

[править] Только для Qt/WinCE

   -no-iwmmxt ......... Do not compile with use of IWMMXT instructions
+  -iwmmxt ............ Do compile with use of IWMMXT instructions (Qt/WinCE 
                        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