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

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

Перейти к: навигация, поиск

Содержание

[править] 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