Участник:Lit-uriy/Песочница1
Материал из Wiki.crossplatform.ru
(Различия между версиями)
Lit-uriy (Обсуждение | вклад) (→1-ый вариант: пока закоментировал первый вариант) |
Lit-uriy (Обсуждение | вклад) (→Бибилиотеки третьих сторон: перевел) |
||
| Строка 171: | Строка 171: | ||
-help, -h, -? ...... Display this information. | -help, -h, -? ...... Display this information. | ||
| - | === | + | === Библиотеки третьих сторон === |
| - | -qt-zlib ........... | + | -qt-zlib ........... Использовать zlib встроеную в Qt. |
| - | + -system-zlib ....... | + | + -system-zlib ....... Использовать zlib из операционной системы. |
| - | + | См. http://www.gzip.org/zlib | |
| - | -no-gif ............ | + | -no-gif ............ Не копилировать плагин для поддержки отрисовки GIF. |
| - | + -qt-gif ............ | + | + -qt-gif ............ Копилировать плагин для поддержки отрисовки GIF. |
| - | + | См. также src/plugins/imageformats/gif/qgifhandler.h | |
| - | -no-libpng ......... | + | -no-libpng ......... Не копилировать поддержку PNG. |
| - | -qt-libpng ......... | + | -qt-libpng ......... Использовать libpng встроеную в Qt. |
| - | + -system-libpng ..... | + | + -system-libpng ..... Использовать libpng из операционной системы. |
| - | + | См. http://www.libpng.org/pub/png | |
| - | -no-libmng ......... | + | -no-libmng ......... Не копилировать поддержку MNG. |
| - | -qt-libmng ......... | + | -qt-libmng ......... Использовать libmng встроеную в Qt. |
| - | + -system-libmng ..... | + | + -system-libmng ..... Использовать libmng из операционной системы. |
| - | + | См. http://www.libmng.com | |
| - | -no-libtiff ........ | + | -no-libtiff ........ Не копилировать плагин для поддержки отрисовки TIFF. |
| - | -qt-libtiff ........ | + | -qt-libtiff ........ Использовать libtiff встроеную в Qt. |
| - | + -system-libtiff .... | + | + -system-libtiff .... Использовать libtiff из операционной системы. |
| - | + | См. http://www.libtiff.org | |
| - | -no-libjpeg ........ | + | -no-libjpeg ........ Не копилировать плагин для поддержки отрисовки JPEG. |
| - | -qt-libjpeg ........ | + | -qt-libjpeg ........ Использовать libjpeg встроеную в Qt. |
| - | + -system-libjpeg .... | + | + -system-libjpeg .... Использовать libjpeg из операционной системы. |
| - | + | См. http://www.ijg.org | |
=== Только для Qt/Windows === | === Только для Qt/Windows === | ||
Версия 15:26, 13 октября 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 ............ 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-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 dynamicall
y
-dbus-linked ....... Compile in D-Bus support and link to libdbus-1
-no-phonon ......... Do not compile in the Phonon module
+ -phonon ............ Compile in the Phonon module (Phonon is built if a
decent C++ compiler is used.)
-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.)
-arch <arch> ....... Specify an architecture.
Available values for <arch>:
* windows
windowsce
generic
-no-style-<style> .. Disable <style> entirely.
-qt-style-<style> .. Enable <style> in the Qt Library.
Available styles:
* 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/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
