Advertisement
synthnassizer

Untitled

Apr 5th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.28 KB | None | 0 0
  1. root@stargaze:/tmp/SBo/qt-everywhere-opensource-src-5.5.1# ./configure --help
  2. + cd qtbase
  3. + /tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtbase/configure -top-level --help
  4. Usage: configure [options]
  5.  
  6. Installation options:
  7.  
  8. These are optional, but you may specify install directories.
  9.  
  10. -prefix <dir> ...... The deployment directory, as seen on the target device.
  11. (default /usr/local/Qt-5.5.1, $PWD if -developer-build is active)
  12.  
  13. -extprefix <dir> ... The installation directory, as seen on the host machine.
  14. (default SYSROOT/PREFIX)
  15.  
  16. -hostprefix [dir] .. The installation directory for build tools running on the
  17. host machine. If [dir] is not given, the current build
  18. directory will be used. (default EXTPREFIX)
  19.  
  20. You may use these to change the layout of the install. Note that all directories
  21. except -sysconfdir should be located under -prefix/-hostprefix:
  22.  
  23. -bindir <dir> ......... User executables will be installed to <dir>
  24. (default PREFIX/bin)
  25. -headerdir <dir> ...... Headers will be installed to <dir>
  26. (default PREFIX/include)
  27. -libdir <dir> ......... Libraries will be installed to <dir>
  28. (default PREFIX/lib)
  29. -archdatadir <dir> .... Arch-dependent data used by Qt will be installed to <dir>
  30. (default PREFIX)
  31. -plugindir <dir> ...... Plugins will be installed to <dir>
  32. (default ARCHDATADIR/plugins)
  33. -libexecdir <dir> ..... Program executables will be installed to <dir>
  34. (default ARCHDATADIR/libexec, ARCHDATADIR/bin for MinGW)
  35. -importdir <dir> ...... Imports for QML1 will be installed to <dir>
  36. (default ARCHDATADIR/imports)
  37. -qmldir <dir> ......... Imports for QML2 will be installed to <dir>
  38. (default ARCHDATADIR/qml)
  39. -datadir <dir> ........ Arch-independent data used by Qt will be installed to <dir>
  40. (default PREFIX)
  41. -docdir <dir> ......... Documentation will be installed to <dir>
  42. (default DATADIR/doc)
  43. -translationdir <dir> . Translations of Qt programs will be installed to <dir>
  44. (default DATADIR/translations)
  45. -sysconfdir <dir> ..... Settings used by Qt programs will be looked for in <dir>
  46. (default PREFIX/etc/xdg)
  47. -examplesdir <dir> .... Examples will be installed to <dir>
  48. (default PREFIX/examples)
  49. -testsdir <dir> ....... Tests will be installed to <dir>
  50. (default PREFIX/tests)
  51.  
  52. -hostbindir <dir> .. Host executables will be installed to <dir>
  53. (default HOSTPREFIX/bin)
  54. -hostlibdir <dir> .. Host libraries will be installed to <dir>
  55. (default HOSTPREFIX/lib)
  56. -hostdatadir <dir> . Data used by qmake will be installed to <dir>
  57. (default HOSTPREFIX)
  58.  
  59. Configure options:
  60.  
  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.  
  65. * -release ........... Compile and link Qt with debugging turned off.
  66. -debug ............. Compile and link Qt with debugging turned on.
  67. -debug-and-release . Compile and link two versions of Qt, with and without
  68. debugging turned on (Mac only).
  69.  
  70. -force-debug-info .. Create symbol files for release builds.
  71.  
  72. -developer-build ... Compile and link Qt with Qt developer options (including auto-tests exporting)
  73.  
  74. -opensource ........ Compile and link the Open-Source Edition of Qt.
  75. -commercial ........ Compile and link the Commercial Edition of Qt.
  76.  
  77. -confirm-license ... Automatically acknowledge the license (use with
  78. either -opensource or -commercial)
  79.  
  80. -no-c++11 .......... Do not compile Qt with C++11 support enabled.
  81. + -c++11 ............. Compile Qt with C++11 support enabled.
  82.  
  83. * -shared ............ Create and use shared Qt libraries.
  84. -static ............ Create and use static Qt libraries.
  85.  
  86. -no-largefile ...... Disables large file support.
  87. + -largefile ......... Enables Qt to access files larger than 4 GB.
  88.  
  89. -no-accessibility .. Do not compile Accessibility support.
  90. Disabling accessibility is not recommended, as it will break QStyle
  91. and may break other internal parts of Qt.
  92. With this switch you create a source incompatible version of Qt,
  93. which is unsupported.
  94. + -accessibility ..... Compile Accessibility support.
  95.  
  96. -no-sql-<driver> ... Disable SQL <driver> entirely.
  97. -qt-sql-<driver> ... Enable a SQL <driver> in the Qt SQL module, by default
  98. none are turned on.
  99. -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to
  100. at run time.
  101.  
  102. Possible values for <driver>:
  103. [ db2 ibase mysql oci odbc psql sqlite sqlite2 tds ]
  104.  
  105. -system-sqlite ..... Use sqlite from the operating system.
  106.  
  107. -no-qml-debug ...... Do not build the in-process QML debugging support.
  108. + -qml-debug ......... Build the QML debugging support.
  109.  
  110. -platform target ... The operating system and compiler you are building
  111. on (default detected from host system).
  112.  
  113. See the README file for a list of supported
  114. operating systems and compilers.
  115.  
  116. -no-sse2 ........... Do not compile with use of SSE2 instructions.
  117. -no-sse3 ........... Do not compile with use of SSE3 instructions.
  118. -no-ssse3 .......... Do not compile with use of SSSE3 instructions.
  119. -no-sse4.1 ......... Do not compile with use of SSE4.1 instructions.
  120. -no-sse4.2 ......... Do not compile with use of SSE4.2 instructions.
  121. -no-avx ............ Do not compile with use of AVX instructions.
  122. -no-avx2 ........... Do not compile with use of AVX2 instructions.
  123. -no-mips_dsp ....... Do not compile with use of MIPS DSP instructions.
  124. -no-mips_dspr2 ..... Do not compile with use of MIPS DSP rev2 instructions.
  125.  
  126. -qtnamespace <name> Wraps all Qt library code in 'namespace <name> {...}'.
  127. -qtlibinfix <infix> Renames all libQt*.so to libQt*<infix>.so.
  128.  
  129. -testcocoon ........ Instrument Qt with the TestCocoon code coverage tool.
  130. -gcov .............. Instrument Qt with the GCov code coverage tool.
  131.  
  132. -D <string> ........ Add an explicit define to the preprocessor.
  133. -I <string> ........ Add an explicit include path.
  134. -L <string> ........ Add an explicit library path.
  135.  
  136. + -pkg-config ........ Use pkg-config to detect include and library paths. By default,
  137. configure determines whether to use pkg-config or not with
  138. some heuristics such as checking the environment variables.
  139. -no-pkg-config ..... Disable use of pkg-config.
  140. -force-pkg-config .. Force usage of pkg-config (skips pkg-config usability
  141. detection heuristic).
  142.  
  143. -help, -h .......... Display this information.
  144.  
  145. Third Party Libraries:
  146.  
  147. -qt-zlib ............ Use the zlib bundled with Qt.
  148. + -system-zlib ........ Use zlib from the operating system.
  149. See http://www.gzip.org/zlib
  150.  
  151. -no-mtdev ........... Do not compile mtdev support.
  152. + -mtdev .............. Enable mtdev support.
  153.  
  154. + -no-journald ........ Do not send logging output to journald.
  155. -journald ........... Send logging output to journald.
  156.  
  157. -no-gif ............. Do not compile GIF reading support.
  158.  
  159. -no-libpng .......... Do not compile PNG support.
  160. -qt-libpng .......... Use the libpng bundled with Qt.
  161. + -system-libpng ...... Use libpng from the operating system.
  162. See http://www.libpng.org/pub/png
  163.  
  164. -no-libjpeg ......... Do not compile JPEG support.
  165. -qt-libjpeg ......... Use the libjpeg bundled with Qt.
  166. + -system-libjpeg ..... Use libjpeg from the operating system.
  167. See http://www.ijg.org
  168.  
  169. -no-freetype ........ Do not compile in Freetype2 support.
  170. -qt-freetype ........ Use the libfreetype bundled with Qt.
  171. + -system-freetype..... Use the libfreetype provided by the system (enabled if -fontconfig is active).
  172. See http://www.freetype.org
  173.  
  174. -no-harfbuzz ........ Do not compile HarfBuzz-NG support.
  175. * -qt-harfbuzz ........ Use HarfBuzz-NG bundled with Qt to do text shaping.
  176. It can still be disabled by setting
  177. the QT_HARFBUZZ environment variable to "old".
  178. -system-harfbuzz .... Use HarfBuzz-NG from the operating system
  179. to do text shaping. It can still be disabled
  180. by setting the QT_HARFBUZZ environment variable to "old".
  181. See http://www.harfbuzz.org
  182.  
  183. -no-openssl ......... Do not compile support for OpenSSL.
  184. + -openssl ............ Enable run-time OpenSSL support.
  185. -openssl-linked ..... Enabled linked OpenSSL support.
  186.  
  187. -no-libproxy ....... Do not compile support for libproxy
  188. + -libproxy .......... Use libproxy from the operating system.
  189.  
  190. -qt-pcre ............ Use the PCRE library bundled with Qt.
  191. + -system-pcre ........ Use the PCRE library from the operating system.
  192.  
  193. -qt-xcb ............. Use xcb- libraries bundled with Qt.
  194. (libxcb.so will still be used from operating system).
  195. + -system-xcb ......... Use xcb- libraries from the operating system.
  196.  
  197. -xkb-config-root .... Set default XKB config root. This option is used only together with -qt-xkbcommon-x11.
  198. -qt-xkbcommon-x11 ... Use the xkbcommon library bundled with Qt in combination with xcb.
  199. + -system-xkbcommon-x11 Use the xkbcommon library from the operating system in combination with xcb.
  200.  
  201. -no-xkbcommon-evdev . Do not use X-less xkbcommon when compiling libinput support.
  202. * -xkbcommon-evdev .... Use X-less xkbcommon when compiling libinput support.
  203.  
  204. -no-xinput2 ......... Do not compile XInput2 support.
  205. * -xinput2 ............ Compile XInput2 support.
  206.  
  207. -no-xcb-xlib......... Do not compile Xcb-Xlib support.
  208. * -xcb-xlib............ Compile Xcb-Xlib support.
  209.  
  210. -no-glib ............ Do not compile Glib support.
  211. + -glib ............... Compile Glib support.
  212.  
  213. -no-pulseaudio ...... Do not compile PulseAudio support.
  214. + -pulseaudio ......... Compile PulseAudio support.
  215.  
  216. -no-alsa ............ Do not compile ALSA support.
  217. + -alsa ............... Compile ALSA support.
  218.  
  219. -no-gtkstyle ........ Do not compile GTK theme support.
  220. + -gtkstyle ........... Compile GTK theme support.
  221.  
  222. Additional options:
  223.  
  224. -make <part> ....... Add part to the list of parts to be built at make time.
  225. (defaults to: libs tools examples)
  226. -nomake <part> ..... Exclude part from the list of parts to be built.
  227.  
  228. -skip <module> ..... Exclude an entire module from the build.
  229.  
  230. -no-compile-examples ... Install only the sources of examples.
  231.  
  232. -no-gui ............ Don't build the Qt GUI module and dependencies.
  233. + -gui ............... Build the Qt GUI module and dependencies.
  234.  
  235. -no-widgets ........ Don't build the Qt Widgets module and dependencies.
  236. + -widgets ........... Build the Qt Widgets module and dependencies.
  237.  
  238. -R <string> ........ Add an explicit runtime library path to the Qt
  239. libraries.
  240. -l <string> ........ Add an explicit library.
  241.  
  242. -no-rpath .......... Do not use the library install path as a runtime
  243. library path.
  244. + -rpath ............. Link Qt libraries and executables using the library
  245. install path as a runtime library path. Equivalent
  246. to -R install_libpath
  247.  
  248. -continue .......... Continue as far as possible if an error occurs.
  249.  
  250. -verbose, -v ....... Print verbose information about each step of the
  251. configure process.
  252.  
  253. -silent ............ Reduce the build output so that warnings and errors
  254. can be seen more easily.
  255.  
  256. * -no-optimized-qmake ... Do not build qmake optimized.
  257. -optimized-qmake ...... Build qmake optimized.
  258.  
  259. -no-nis ............ Do not compile NIS support.
  260. * -nis ............... Compile NIS support.
  261.  
  262. -no-cups ........... Do not compile CUPS support.
  263. * -cups .............. Compile CUPS support.
  264. Requires cups/cups.h and libcups.so.2.
  265.  
  266. -no-iconv .......... Do not compile support for iconv(3).
  267. * -iconv ............. Compile support for iconv(3).
  268.  
  269. -no-evdev .......... Do not compile support for evdev.
  270. * -evdev ............. Compile support for evdev.
  271.  
  272. -no-tslib .......... Do not compile support for tslib.
  273. * -tslib ............. Compile support for tslib.
  274.  
  275. -no-icu ............ Do not compile support for ICU libraries.
  276. + -icu ............... Compile support for ICU libraries.
  277.  
  278. -no-fontconfig ..... Do not compile FontConfig support.
  279. + -fontconfig ........ Compile FontConfig support.
  280.  
  281. -no-strip .......... Do not strip binaries and libraries of unneeded symbols.
  282. * -strip ............. Strip binaries and libraries of unneeded symbols when installing.
  283.  
  284. * -no-pch ............ Do not use precompiled header support.
  285. -pch ............... Use precompiled header support.
  286.  
  287. -no-dbus ........... Do not compile the Qt D-Bus module.
  288. + -dbus .............. Compile the Qt D-Bus module and dynamically load libdbus-1.
  289. -dbus-linked ....... Compile the Qt D-Bus module and link to libdbus-1.
  290.  
  291. -reduce-relocations ..... Reduce relocations in the libraries through extra
  292. linker optimizations (Qt/X11 and Qt for Embedded Linux only;
  293. experimental; needs GNU ld >= 2.18).
  294.  
  295. -no-use-gold-linker ..... Do not link using the GNU gold linker.
  296. + -use-gold-linker ........ Link using the GNU gold linker if available.
  297.  
  298. -force-asserts ........ Force Q_ASSERT to be enabled even in release builds.
  299.  
  300. -sanitize [address|thread|memory|undefined] Enables the specified compiler sanitizer.
  301.  
  302. -device <name> ............... Cross-compile for device <name> (experimental)
  303. -device-option <key=value> ... Add device specific options for the device mkspec
  304. (experimental)
  305.  
  306. * -no-separate-debug-info . Do not store debug information in a separate file.
  307. -separate-debug-info .... Strip debug information into a separate file.
  308.  
  309. -no-xcb ............ Do not compile Xcb (X protocol C-language Binding) support.
  310. * -xcb ............... Compile Xcb support.
  311.  
  312. -no-eglfs .......... Do not compile EGLFS (EGL Full Screen/Single Surface) support.
  313. * -eglfs ............. Compile EGLFS support.
  314.  
  315. -no-directfb ....... Do not compile DirectFB support.
  316. * -directfb .......... Compile DirectFB support.
  317.  
  318. -no-linuxfb ........ Do not compile Linux Framebuffer support.
  319. * -linuxfb ........... Compile Linux Framebuffer support.
  320.  
  321. -no-kms ............ Do not compile KMS support.
  322. * -kms ............... Compile KMS support (Requires EGL).
  323.  
  324. -qpa <name> ......... Sets the default QPA platform (e.g xcb, cocoa, windows).
  325.  
  326. -xplatform target ... The target platform when cross-compiling.
  327.  
  328. -sysroot <dir> ...... Sets <dir> as the target compiler's and qmake's sysroot and also sets pkg-config paths.
  329. -no-gcc-sysroot ..... When using -sysroot, it disables the passing of --sysroot to the compiler
  330.  
  331. -no-feature-<feature> Do not compile in <feature>.
  332. -feature-<feature> .. Compile in <feature>. The available features
  333. are described in src/corelib/global/qfeatures.txt
  334.  
  335. -qconfig local ...... Use src/corelib/global/qconfig-local.h rather than the
  336. default (full).
  337.  
  338. -qreal [double|float] typedef qreal to the specified type. The default is double.
  339. Note that changing this flag affects binary compatibility.
  340.  
  341. -no-opengl .......... Do not support OpenGL.
  342. -opengl <api> ....... Enable OpenGL support
  343. With no parameter, this will attempt to auto-detect
  344. OpenGL ES 2.0 and higher, or regular desktop OpenGL.
  345. Use es2 for <api> to override auto-detection.
  346.  
  347. -no-libinput ........ Do not support libinput.
  348. * -libinput ........... Enable libinput support.
  349.  
  350. -no-gstreamer ....... Do not support GStreamer.
  351. + -gstreamer <version> Enable GStreamer support
  352. With no parameter, this will attempt to auto-detect GStreamer 0.10 and
  353. 1.0. GStreamer 0.10 is used by default when available.
  354. Use 0.10 or 1.0 for <version> to override auto-detection.
  355.  
  356. * -no-system-proxies .. Do not use system network proxies by default.
  357. -system-proxies ..... Use system network proxies by default.
  358.  
  359. -no-warnings-are-errors Make warnings be treated normally
  360. -warnings-are-errors Make warnings be treated as errors
  361. (enabled if -developer-build is active)
  362.  
  363. QNX/Blackberry options:
  364.  
  365. -no-slog2 .......... Do not compile with slog2 support.
  366. -slog2 ............. Compile with slog2 support.
  367.  
  368. -no-pps ............ Do not compile with pps support.
  369. -pps ............... Compile with pps support.
  370.  
  371. -no-imf ............ Do not compile with imf support.
  372. -imf ............... Compile with imf support.
  373.  
  374. -no-lgmon .......... Do not compile with lgmon support.
  375. -lgmon ............. Compile with lgmon support.
  376.  
  377. MacOS/iOS options:
  378.  
  379. -Fstring ........... Add an explicit framework path.
  380. -fw string ......... Add an explicit framework.
  381.  
  382. * -framework ......... Build Qt as a series of frameworks and
  383. link tools against those frameworks.
  384. -no-framework ...... Do not build Qt as a series of frameworks.
  385.  
  386. -securetransport ... Use SecureTransport instead of OpenSSL (requires -no-openssl)
  387.  
  388. -sdk <sdk> ......... Build Qt using Apple provided SDK <sdk>. The argument should be
  389. one of the available SDKs as listed by 'xcodebuild -showsdks'.
  390. Note that the argument applies only to Qt libraries and applications built
  391. using the target mkspec - not host tools such as qmake, moc, rcc, etc.
  392.  
  393. Android options:
  394.  
  395. -android-sdk path .............. The Android SDK root path.
  396. (default $ANDROID_SDK_ROOT)
  397.  
  398. -android-ndk path .............. The Android NDK root path.
  399. (default $ANDROID_NDK_ROOT)
  400.  
  401. -android-ndk-platform .......... Sets the android platform
  402. (default android-9)
  403.  
  404. -android-ndk-host .............. Sets the android NDK host (linux-x86, linux-x86_64, etc.)
  405. (default $ANDROID_NDK_HOST)
  406.  
  407. -android-arch .................. Sets the android architecture (armeabi, armeabi-v7a, x86, mips,
  408. arm64-v8a, x86_64, mips64)
  409. (default armeabi-v7a)
  410.  
  411. -android-toolchain-version ..... Sets the android toolchain version
  412. (default 4.9)
  413.  
  414. -no-android-style-assets ....... Do not compile in the code which automatically extracts
  415. style assets from the run-time device. Setting this will
  416. make the Android style behave incorrectly, but will enable
  417. compatibility with the LGPL2.1 license.
  418. * -android-style-assets .......... Compile the code which automatically extracts style assets
  419. from the run-time device. This option will make the
  420. Android platform plugin incompatible with the LGPL2.1.
  421. root@stargaze:/tmp/SBo/qt-everywhere-opensource-src-5.5.1#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement