Chinaunix首页 | 论坛 | 博客
  • 博客访问: 119945
  • 博文数量: 29
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 115
  • 用 户 组: 普通用户
  • 注册时间: 2015-11-17 09:35
文章分类

全部博文(29)

文章存档

2018年(5)

2016年(10)

2015年(14)

我的朋友

分类: LINUX

2016-02-05 09:51:52

        为了方便配置Qt,特意把有关的配置选项放出,方便查看;或者执行./configure --help自行查看。

点击(此处)折叠或打开

  1. Usage: configure [-h] [-prefix <dir>] [-prefix-install] [-bindir <dir>] [-libdir <dir>]
  2.         [-docdir <dir>] [-headerdir <dir>] [-plugindir <dir> ] [-datadir <dir>]
  3.         [-translationdir <dir>] [-sysconfdir <dir>] [-examplesdir <dir>]
  4.         [-demosdir <dir>] [-buildkey <key>] [-release] [-debug]
  5.         [-debug-and-release] [-developer-build] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]
  6.         [-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
  7.         [-accessibility] [-no-stl] [-stl] [-no-sql-<driver>] [-sql-<driver>]
  8.         [-plugin-sql-<driver>] [-system-sqlite] [-no-qt3support] [-qt3support]
  9.         [-platform] [-D <string>] [-I <string>] [-L <string>] [-help]
  10.         [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-qt-libtiff] [-system-libtiff]
  11.         [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
  12.         [-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make <part>]
  13.         [-nomake <part>] [-R <string>] [-l <string>] [-no-rpath] [-rpath] [-continue]
  14.         [-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] [-no-iconv]
  15.         [-iconv] [-no-pch] [-pch] [-no-dbus] [-dbus] [-dbus-linked]
  16.         [-no-separate-debug-info] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
  17.         [-qtnamespace <namespace>] [-qtlibinfix <infix>] [-separate-debug-info] [-armfpa]
  18.         [-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns] [-xmlpatterns]
  19.         [-no-multimedia] [-multimedia] [-no-phonon] [-phonon] [-no-phonon-backend] [-phonon-backend]
  20.         [-no-audio-backend] [-audio-backend] [-no-openssl] [-openssl] [-openssl-linked]
  21.         [-no-gtkstyle] [-gtkstyle] [-no-svg] [-svg] [-no-webkit] [-webkit] [-no-javascript-jit] [-javascript-jit]
  22.         [-no-script] [-script] [-no-scripttools] [-scripttools] [-no-declarative] [-declarative]

  23.         [additional platform specific options (see below)]


  24. Installation options:

  25.  These are optional, but you may specify install directories.

  26.     -prefix <dir> ...... This will install everything relative to <dir>
  27.                          (default /usr/local/Trolltech/Qt-4.6.2)

  28.   * -prefix-install .... Force a sandboxed "local" installation of
  29.                          Qt. This will install into
  30.                          /usr/local/Trolltech/Qt-4.6.2, if this option is
  31.                          disabled then some platforms will attempt a
  32.                          "system" install by placing default values to
  33.                          be placed in a system location other than
  34.                          PREFIX.

  35.  You may use these to separate different parts of the install:

  36.     -bindir <dir> ......... Executables will be installed to <dir>
  37.                             (default PREFIX/bin)
  38.     -libdir <dir> ......... Libraries will be installed to <dir>
  39.                             (default PREFIX/lib)
  40.     -docdir <dir> ......... Documentation will be installed to <dir>
  41.                             (default PREFIX/doc)
  42.     -headerdir <dir> ...... Headers will be installed to <dir>
  43.                             (default PREFIX/include)
  44.     -plugindir <dir> ...... Plugins will be installed to <dir>
  45.                             (default PREFIX/plugins)
  46.     -datadir <dir> ........ Data used by Qt programs will be installed to <dir>
  47.                             (default PREFIX)
  48.     -translationdir <dir> . Translations of Qt programs will be installed to <dir>
  49.                             (default PREFIX/translations)
  50.     -sysconfdir <dir> ..... Settings used by Qt programs will be looked for in <dir>
  51.                             (default PREFIX/etc/settings)
  52.     -examplesdir <dir> .... Examples will be installed to <dir>
  53.                             (default PREFIX/examples)
  54.     -demosdir <dir> ....... Demos will be installed to <dir>
  55.                             (default PREFIX/demos)

  56.  You may use these options to turn on strict plugin loading.

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

  60. Configure options:

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

  64.  * -release ........... Compile and link Qt with debugging turned off.
  65.     -debug ............. Compile and link Qt with debugging turned on.
  66.     -debug-and-release . Compile and link two versions of Qt, with and without
  67.                          debugging turned on (Mac only).

  68.     -developer-build.... Compile and link Qt with Qt developer options (including auto-tests exporting)

  69.     -opensource......... Compile and link the Open-Source Edition of Qt.
  70.     -commercial......... Compile and link the Commercial Edition of Qt.


  71.  * -shared ............ Create and use shared Qt libraries.
  72.     -static ............ Create and use static Qt libraries.

  73.  * -no-fast ........... Configure Qt normally by generating Makefiles for all
  74.                          project files.
  75.     -fast .............. Configure Qt quickly by generating Makefiles only for
  76.                          library and subdirectory targets. All other Makefiles
  77.                          are created as wrappers, which will in turn run qmake.

  78.     -no-largefile ...... Disables large file support.
  79.  + -largefile ......... Enables Qt to access files larger than 4 GB.

  80.     -no-exceptions ..... Disable exceptions on compilers that support it.
  81.  * -exceptions ........ Enable exceptions on compilers that support it.

  82.     -no-accessibility .. Do not compile Accessibility support.
  83.  * -accessibility ..... Compile Accessibility support.

  84.     -no-stl ............ Do not compile STL support.
  85.  * -stl ............... Compile STL support.

  86.     -no-sql-<driver> ... Disable SQL <driver> entirely.
  87.     -qt-sql-<driver> ... Enable a SQL <driver> in the QtSql library, by default
  88.                          none are turned on.
  89.     -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to
  90.                          at run time.

  91.                          Possible values for <driver>:
  92.                          [ db2 ibase mysql oci odbc psql sqlite sqlite2 sqlite_symbian tds ]

  93.     -system-sqlite ..... Use sqlite from the operating system.

  94.     -no-qt3support ..... Disables the Qt 3 support functionality.
  95.  * -qt3support ........ Enables the Qt 3 support functionality.

  96.     -no-xmlpatterns .... Do not build the QtXmlPatterns module.
  97.  + -xmlpatterns ....... Build the QtXmlPatterns module.
  98.                          QtXmlPatterns is built if a decent C++ compiler
  99.                          is used and exceptions are enabled.

  100.     -no-multimedia ..... Do not build the QtMultimedia module.
  101.  + -multimedia ........ Build the QtMultimedia module.

  102.     -no-audio-backend .. Do not build the platform audio backend into QtMultimedia.
  103.  + -audio-backend ..... Build the platform audio backend into QtMultimedia if available.

  104.     -no-phonon ......... Do not build the Phonon module.
  105.  + -phonon ............ Build the Phonon module.
  106.                          Phonon is built if a decent C++ compiler is used.
  107.     -no-phonon-backend.. Do not build the platform phonon plugin.
  108.  + -phonon-backend..... Build the platform phonon plugin.

  109.     -no-svg ............ Do not build the SVG module.
  110.  + -svg ............... Build the SVG module.

  111.     -no-webkit ......... Do not build the WebKit module.
  112.  + -webkit ............ Build the WebKit module.
  113.                          WebKit is built if a decent C++ compiler is used.

  114.     -no-javascript-jit . Do not build the JavaScriptCore JIT compiler.
  115.  + -javascript-jit .... Build the JavaScriptCore JIT compiler.

  116.     -no-script ......... Do not build the QtScript module.
  117.  + -script ............ Build the QtScript module.

  118.     -no-scripttools .... Do not build the QtScriptTools module.
  119.  + -scripttools ....... Build the QtScriptTools module.

  120.  + -no-declarative .....Do not build the declarative module.
  121.     -declarative ....... Build the declarative module.

  122.     -platform target ... The operating system and compiler you are building
  123.                          on (linux-g++).

  124.                          See the README file for a list of supported
  125.                          operating systems and compilers.
  126.     -graphicssystem <sys> Sets an alternate graphics system. Available options are:
  127.                            raster - Software rasterizer
  128.                            opengl - Rendering via OpenGL,

  129.     -no-mmx ............ Do not compile with use of MMX instructions.
  130.     -no-3dnow .......... Do not compile with use of 3DNOW instructions.
  131.     -no-sse ............ Do not compile with use of SSE instructions.
  132.     -no-sse2 ........... Do not compile with use of SSE2 instructions.

  133.     -qtnamespace <name> Wraps all Qt library code in 'namespace <name> {...}'.
  134.     -qtlibinfix <infix> Renames all libQt*.so to libQt*<infix>.so.

  135.     -D <string> ........ Add an explicit define to the preprocessor.
  136.     -I <string> ........ Add an explicit include path.
  137.     -L <string> ........ Add an explicit library path.

  138.     -help, -h .......... Display this information.

  139. Third Party Libraries:

  140.     -qt-zlib ........... Use the zlib bundled with Qt.
  141.  + -system-zlib ....... Use zlib from the operating system.
  142.                          See http://www.gzip.org/zlib

  143.     -no-gif ............ Do not compile the plugin for GIF reading support.
  144.  * -qt-gif ............ Compile the plugin for GIF reading support.
  145.                          See also src/plugins/imageformats/gif/qgifhandler.h

  146.     -no-libtiff ........ Do not compile the plugin for TIFF support.
  147.     -qt-libtiff ........ Use the libtiff bundled with Qt.
  148.  + -system-libtiff .... Use libtiff from the operating system.
  149.                          See http://www.libtiff.org

  150.     -no-libpng ......... Do not compile in PNG support.
  151.     -qt-libpng ......... Use the libpng bundled with Qt.
  152.  + -system-libpng ..... Use libpng from the operating system.
  153.                          See http://www.libpng.org/pub/png

  154.     -no-libmng ......... Do not compile the plugin for MNG support.
  155.     -qt-libmng ......... Use the libmng bundled with Qt.
  156.  + -system-libmng ..... Use libmng from the operating system.
  157.                          See http://www.libmng.com

  158.     -no-libjpeg ........ Do not compile the plugin for JPEG support.
  159.     -qt-libjpeg ........ Use the libjpeg bundled with Qt.
  160.  + -system-libjpeg .... Use libjpeg from the operating system.
  161.                          See http://www.ijg.org

  162.     -no-openssl ........ Do not compile support for OpenSSL.
  163.  + -openssl ........... Enable run-time OpenSSL support.
  164.     -openssl-linked .... Enabled linked OpenSSL support.

  165.     -ptmalloc .......... Override the system memory allocator with ptmalloc.
  166.                          (Experimental.)

  167. Additional options:

  168.     -make <part> ....... Add part to the list of parts to be built at make time.
  169.                          (libs tools examples demos docs translations)
  170.     -nomake <part> ..... Exclude part from the list of parts to be built.

  171.     -R <string> ........ Add an explicit runtime library path to the Qt
  172.                          libraries.
  173.     -l <string> ........ Add an explicit library.

  174.     -no-rpath .......... Do not use the library install path as a runtime
  175.                          library path.
  176.  + -rpath ............. Link Qt libraries and executables using the library
  177.                          install path as a runtime library path. Equivalent
  178.                          to -R install_libpath

  179.     -continue .......... Continue as far as possible if an error occurs.

  180.     -verbose, -v ....... Print verbose information about each step of the
  181.                          configure process.

  182.     -silent ............ Reduce the build output so that warnings and errors
  183.                          can be seen more easily.

  184.  * -no-optimized-qmake ... Do not build qmake optimized.
  185.     -optimized-qmake ...... Build qmake optimized.

  186.     -no-nis ............ Do not compile NIS support.
  187.  * -nis ............... Compile NIS support.

  188.     -no-cups ........... Do not compile CUPS support.
  189.  * -cups .............. Compile CUPS support.
  190.                          Requires cups/cups.h and libcups.so.2.

  191.     -no-iconv .......... Do not compile support for iconv(3).
  192.  * -iconv ............. Compile support for iconv(3).

  193.     -no-pch ............ Do not use precompiled header support.
  194.  * -pch ............... Use precompiled header support.

  195.     -no-dbus ........... Do not compile the QtDBus module.
  196.  + -dbus .............. Compile the QtDBus module and dynamically load libdbus-1.
  197.     -dbus-linked ....... Compile the QtDBus module and link to libdbus-1.

  198.     -reduce-relocations ..... Reduce relocations in the libraries through extra
  199.                               linker optimizations (Qt/X11 and Qt for Embedded Linux only;
  200.                               experimental; needs GNU ld >= 2.18).

  201.     -no-separate-debug-info . Do not store debug information in a separate file.
  202.  * -separate-debug-info .... Strip debug information into a separate .debug file.


  203. Qt/X11 only:

  204.     -no-gtkstyle ....... Do not build the GTK theme integration.
  205.  + -gtkstyle .......... Build the GTK theme integration.

  206.  * -no-nas-sound ...... Do not compile in NAS sound support.
  207.     -system-nas-sound .. Use NAS libaudio from the operating system.
  208.                          See http://radscan.com/nas.html

  209.     -no-opengl ......... Do not support OpenGL.
  210.  + -opengl <api> ...... Enable OpenGL support.
  211.                          With no parameter, this will auto-detect the "best"
  212.                          OpenGL API to use. If desktop OpenGL is available, it
  213.                          will be used. Use desktop, es1, es1cl or es2 for <api>
  214.                          to force the use of the Desktop (OpenGL 1.x or 2.x),
  215.                          OpenGL ES 1.x Common profile, 1.x Common Lite profile
  216.                          or 2.x APIs instead. On X11, the EGL API will be used
  217.                          to manage GL contexts in the case of OpenGL ES

  218.      -no-openvg ........ Do not support OpenVG.
  219.  + -openvg ........... Enable OpenVG support.
  220.                          Requires EGL support, typically supplied by an OpenGL
  221.                          or other graphics implementation.

  222.     -no-sm ............. Do not support X Session Management.
  223.  * -sm ................ Support X Session Management, links in -lSM -lICE.

  224.     -no-xshape ......... Do not compile XShape support.
  225.  * -xshape ............ Compile XShape support.
  226.                          Requires X11/extensions/shape.h.

  227.     -no-xsync .......... Do not compile XSync support.
  228.  * -xsync ............. Compile XSync support.
  229.                          Requires X11/extensions/sync.h.

  230.     -no-xinerama ....... Do not compile Xinerama (multihead) support.
  231.  * -xinerama .......... Compile Xinerama support.
  232.                          Requires X11/extensions/Xinerama.h and libXinerama.
  233.              By default, Xinerama support will be compiled if
  234.                          available and the shared libraries are dynamically
  235.                          loaded at runtime.

  236.     -no-xcursor ........ Do not compile Xcursor support.
  237.  * -xcursor ........... Compile Xcursor support.
  238.                          Requires X11/Xcursor/Xcursor.h and libXcursor.
  239.              By default, Xcursor support will be compiled if
  240.                          available and the shared libraries are dynamically
  241.                          loaded at runtime.

  242.     -no-xfixes ......... Do not compile Xfixes support.
  243.  * -xfixes ............ Compile Xfixes support.
  244.                          Requires X11/extensions/Xfixes.h and libXfixes.
  245.              By default, Xfixes support will be compiled if
  246.                          available and the shared libraries are dynamically
  247.                          loaded at runtime.

  248.     -no-xrandr ......... Do not compile Xrandr (resize and rotate) support.
  249.  * -xrandr ............ Compile Xrandr support.
  250.                          Requires X11/extensions/Xrandr.h and libXrandr.

  251.     -no-xrender ........ Do not compile Xrender support.
  252.  * -xrender ........... Compile Xrender support.
  253.                          Requires X11/extensions/Xrender.h and libXrender.

  254.     -no-mitshm ......... Do not compile MIT-SHM support.
  255.  * -mitshm ............ Compile MIT-SHM support.
  256.                          Requires sys/ipc.h, sys/shm.h and X11/extensions/XShm.h

  257.     -no-fontconfig ..... Do not compile FontConfig (anti-aliased font) support.
  258.  * -fontconfig ........ Compile FontConfig support.
  259.                          Requires fontconfig/fontconfig.h, libfontconfig,
  260.                          freetype.h and libfreetype.

  261.     -no-xinput.......... Do not compile Xinput support.
  262.  * -xinput ............ Compile Xinput support. This also enabled tablet support
  263.                          which requires IRIX with wacom.h and libXi or
  264.                          XFree86 with X11/extensions/XInput.h and libXi.

  265.     -no-xkb ............ Do not compile XKB (X KeyBoard extension) support.
  266.  * -xkb ............... Compile XKB support.

  267.     -no-glib ........... Do not compile Glib support.
  268.  + -glib .............. Compile Glib support.


阅读(1742) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~