2016-08-10 10:34:24 +00:00
|
|
|
Usage: configure [options] [assignments]
|
|
|
|
|
|
|
|
Configure understands variable assignments like VAR=value on the command line.
|
2017-02-08 20:22:08 +00:00
|
|
|
Each uppercased library name (obtainable with -list-libraries) supports the
|
|
|
|
suffixes _INCDIR, _LIBDIR, _PREFIX (INCDIR=PREFIX/include, LIBDIR=PREFIX/lib),
|
|
|
|
_LIBS, and - on Windows and Darwin - _LIBS_DEBUG and _LIBS_RELEASE. E.g.,
|
|
|
|
ICU_PREFIX=/opt/icu42 ICU_LIBS="-licui18n -licuuc -licudata".
|
2016-04-19 14:46:39 +00:00
|
|
|
|
replace mechanism to override variables from the mkspecs
it is sometimes desirable to override values from the mkspec without
modifying (or wrapping) the spec itself. linux distributors do this on a
regular basis.
so far, we'd pick up CFLAGS, etc. from the environment, in a somewhat
autoconf-like fashion. however, over time, this approach proved
problematic: the concept doesn't mix particularly well with mkspecs to
start with, is unexpected (and therefore causes frustration), and
doesn't mix well with cross-building (at least the way it was realized).
ironically, it was implemented this way (quite a while ago) upon my
explicit request ...
the new mechanism uses explicit variable manipulations on the configure
command line, just like qmake itself understands. as it happens, this is
again quite similar to autoconf-generated configure scripts. however,
this time around we don't pretend to be actually autoconf-like, so we
also don't try to map any variable names (some of which have different
semantics anyway).
this commit also eliminates the last use of the QMakeVar() function,
so delete it and the underlying infrastructure.
Task-number: QTBUG-32530
Task-number: QTBUG-42962
Change-Id: Id31a6b80e1add08ca21f5b178614bda530d12374
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-07-06 11:58:53 +00:00
|
|
|
It is also possible to manipulate any QMAKE_* variable, to amend the values
|
|
|
|
from the mkspec for the build of Qt itself, e.g., QMAKE_CXXFLAGS+=-g3.
|
|
|
|
|
2017-11-23 12:30:54 +00:00
|
|
|
Note that the *_LIBS* and QMAKE_* assignments manipulate lists, so items
|
|
|
|
containing meta characters (spaces in particular) need to be quoted according
|
|
|
|
to qmake rules. On top of that, the assignments as a whole need to be quoted
|
|
|
|
according to shell rules. It is recommended to use single quotes for the inner
|
|
|
|
quoting and double quotes for the outer quoting.
|
|
|
|
|
2016-08-05 15:58:02 +00:00
|
|
|
Top-level installation directories:
|
|
|
|
-prefix <dir> ...... The deployment directory, as seen on the target device.
|
2018-12-11 13:17:05 +00:00
|
|
|
[/usr/local/Qt-$QT_VERSION; qtbase build directory if
|
|
|
|
-developer-build]
|
2016-08-05 15:58:02 +00:00
|
|
|
-extprefix <dir> ... The installation directory, as seen on the host machine.
|
|
|
|
[SYSROOT/PREFIX]
|
|
|
|
-hostprefix [dir] .. The installation directory for build tools running on
|
|
|
|
the host machine. If [dir] is not given, the current
|
|
|
|
build directory will be used. [EXTPREFIX]
|
|
|
|
-external-hostbindir <path> ... Path to Qt tools built for this machine.
|
|
|
|
Use this when -platform does not match the current
|
|
|
|
system, i.e., to make a Canadian Cross Build.
|
|
|
|
|
|
|
|
Fine tuning of installation directory layout. Note that all directories
|
|
|
|
except -sysconfdir should be located under -prefix/-hostprefix:
|
|
|
|
|
|
|
|
-bindir <dir> ......... Executables [PREFIX/bin]
|
|
|
|
-headerdir <dir> ...... Header files [PREFIX/include]
|
|
|
|
-libdir <dir> ......... Libraries [PREFIX/lib]
|
|
|
|
-archdatadir <dir> .... Arch-dependent data [PREFIX]
|
|
|
|
-plugindir <dir> ...... Plugins [ARCHDATADIR/plugins]
|
|
|
|
-libexecdir <dir> ..... Helper programs [ARCHDATADIR/bin on Windows,
|
|
|
|
ARCHDATADIR/libexec otherwise]
|
2019-02-01 10:50:05 +00:00
|
|
|
-qmldir <dir> ......... QML imports [ARCHDATADIR/qml]
|
2016-08-05 15:58:02 +00:00
|
|
|
-datadir <dir> ........ Arch-independent data [PREFIX]
|
|
|
|
-docdir <dir> ......... Documentation [DATADIR/doc]
|
|
|
|
-translationdir <dir> . Translations [DATADIR/translations]
|
|
|
|
-sysconfdir <dir> ..... Settings used by Qt programs [PREFIX/etc/xdg]
|
|
|
|
-examplesdir <dir> .... Examples [PREFIX/examples]
|
|
|
|
-testsdir <dir> ....... Tests [PREFIX/tests]
|
|
|
|
|
|
|
|
-hostbindir <dir> ..... Host executables [HOSTPREFIX/bin]
|
|
|
|
-hostlibdir <dir> ..... Host libraries [HOSTPREFIX/lib]
|
|
|
|
-hostdatadir <dir> .... Data used by qmake [HOSTPREFIX]
|
|
|
|
|
|
|
|
Conventions for the remaining options: When an option's description is
|
|
|
|
followed by a list of values in brackets, the interpretation is as follows:
|
|
|
|
'yes' represents the bare option; all other values are possible prefixes to
|
|
|
|
the option, e.g., -no-gui. Alternatively, the value can be assigned, e.g.,
|
2016-08-30 16:10:41 +00:00
|
|
|
--gui=yes. Values are listed in the order they are tried if not specified;
|
2016-08-05 15:58:02 +00:00
|
|
|
'auto' is a shorthand for 'yes/no'. Solitary 'yes' and 'no' represent binary
|
|
|
|
options without auto-detection.
|
|
|
|
|
|
|
|
Configure meta:
|
|
|
|
|
|
|
|
-help, -h ............ Display this help screen
|
|
|
|
-verbose, -v ......... Print verbose messages during configuration
|
|
|
|
-continue ............ Continue configure despite errors
|
2016-07-06 12:41:09 +00:00
|
|
|
-redo ................ Re-configure with previously used options.
|
|
|
|
Additional options may be passed, but will not be
|
|
|
|
saved for later use by -redo.
|
2017-12-04 20:00:38 +00:00
|
|
|
-recheck [test,...] .. Discard cached negative configure test results.
|
2016-08-16 18:03:54 +00:00
|
|
|
Use this after installing missing dependencies.
|
2017-12-04 20:00:38 +00:00
|
|
|
Alternatively, if tests are specified, only their
|
|
|
|
results are discarded.
|
2016-08-16 18:03:54 +00:00
|
|
|
-recheck-all ......... Discard all cached configure test results.
|
2016-08-05 15:58:02 +00:00
|
|
|
|
2017-02-08 17:46:21 +00:00
|
|
|
-feature-<feature> ... Enable <feature>
|
|
|
|
-no-feature-<feature> Disable <feature> [none]
|
|
|
|
-list-features ....... List available features. Note that some features
|
|
|
|
have dedicated command line options as well.
|
|
|
|
|
2017-02-08 18:38:31 +00:00
|
|
|
-list-libraries ...... List possible external dependencies.
|
|
|
|
|
2016-08-05 15:58:02 +00:00
|
|
|
Build options:
|
|
|
|
|
|
|
|
-opensource .......... Build the Open-Source Edition of Qt
|
|
|
|
-commercial .......... Build the Commercial Edition of Qt
|
|
|
|
-confirm-license ..... Automatically acknowledge the license
|
|
|
|
|
|
|
|
-release ............. Build Qt with debugging turned off [yes]
|
|
|
|
-debug ............... Build Qt with debugging turned on [no]
|
|
|
|
-debug-and-release ... Build two versions of Qt, with and without
|
|
|
|
debugging turned on [yes] (Apple and Windows only)
|
2016-11-17 14:01:59 +00:00
|
|
|
-optimize-debug ...... Enable debug-friendly optimizations in debug builds
|
2017-11-21 19:42:51 +00:00
|
|
|
[auto] (Not supported with MSVC or Clang toolchains)
|
2017-04-07 13:49:10 +00:00
|
|
|
-optimize-size ....... Optimize release builds for size instead of speed [no]
|
2016-08-05 15:58:02 +00:00
|
|
|
-optimized-tools ..... Build optimized host tools even in debug build [no]
|
|
|
|
-force-debug-info .... Create symbol files for release builds [no]
|
|
|
|
-separate-debug-info . Split off debug information to separate files [no]
|
2018-03-14 15:01:59 +00:00
|
|
|
-gdb-index ........... Index the debug info to speed up GDB
|
|
|
|
[no; auto if -developer-build with debug info]
|
2016-08-05 15:58:02 +00:00
|
|
|
-strip ............... Strip release binaries of unneeded symbols [yes]
|
2018-04-10 13:03:11 +00:00
|
|
|
-gc-binaries ......... Place each function or data item into its own section
|
|
|
|
and enable linker garbage collection of unused
|
|
|
|
sections. [auto for static builds, otherwise no]
|
2016-08-05 15:58:02 +00:00
|
|
|
-force-asserts ....... Enable Q_ASSERT even in release builds [no]
|
|
|
|
-developer-build ..... Compile and link Qt for developing Qt itself
|
|
|
|
(exports for auto-tests, extra checks, etc.) [no]
|
|
|
|
|
|
|
|
-shared .............. Build shared Qt libraries [yes] (no for UIKit)
|
|
|
|
-static .............. Build static Qt libraries [no] (yes for UIKit)
|
|
|
|
-framework ........... Build Qt framework bundles [yes] (Apple only)
|
|
|
|
|
|
|
|
-platform <target> ... Select host mkspec [detected]
|
|
|
|
-xplatform <target> .. Select target mkspec when cross-compiling [PLATFORM]
|
|
|
|
-device <name> ....... Cross-compile for device <name>
|
|
|
|
-device-option <key=value> ... Add option for the device mkspec
|
|
|
|
|
2016-12-03 10:24:55 +00:00
|
|
|
-appstore-compliant .. Disable code that is not allowed in platform app stores.
|
|
|
|
This is on by default for platforms which require distribution
|
|
|
|
through an app store by default, in particular Android,
|
|
|
|
iOS, tvOS, watchOS, and Universal Windows Platform. [auto]
|
|
|
|
|
2016-08-05 15:58:02 +00:00
|
|
|
-qtnamespace <name> .. Wrap all Qt library code in 'namespace <name> {...}'.
|
|
|
|
-qtlibinfix <infix> .. Rename all libQt5*.so to libQt5*<infix>.so.
|
2019-05-14 07:40:54 +00:00
|
|
|
-qtlibinfix-plugins .. Rename Qt plugins according to -qtlibinfix [no]
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
-testcocoon .......... Instrument with the TestCocoon code coverage tool [no]
|
|
|
|
-gcov ................ Instrument with the GCov code coverage tool [no]
|
2017-02-01 19:32:13 +00:00
|
|
|
|
|
|
|
-trace [backend] ..... Enable instrumentation with tracepoints.
|
|
|
|
Currently supported backends are 'etw' (Windows) and
|
|
|
|
'lttng' (Linux), or 'yes' for auto-detection. [no]
|
|
|
|
|
2016-08-05 15:58:02 +00:00
|
|
|
-sanitize {address|thread|memory|undefined}
|
|
|
|
Instrument with the specified compiler sanitizer.
|
2018-01-11 11:26:32 +00:00
|
|
|
Note that some sanitizers cannot be combined;
|
|
|
|
for example, -sanitize address cannot be combined with
|
|
|
|
-sanitize thread.
|
2016-08-05 15:58:02 +00:00
|
|
|
|
2018-08-29 20:18:42 +00:00
|
|
|
-coverage {trace-pc-guard}
|
|
|
|
Add code coverage instrumentation (Clang only)
|
|
|
|
|
2019-04-17 14:01:46 +00:00
|
|
|
-c++std <edition> .... Select C++ standard <edition> [c++2a/c++17/c++14/c++11]
|
2019-04-17 13:45:58 +00:00
|
|
|
(Not supported with MSVC 2015)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
-sse2 ................ Use SSE2 instructions [auto]
|
|
|
|
-sse3/-ssse3/-sse4.1/-sse4.2/-avx/-avx2/-avx512
|
|
|
|
Enable use of particular x86 instructions [auto]
|
|
|
|
Enabled ones are still subject to runtime detection.
|
|
|
|
-mips_dsp/-mips_dspr2 Use MIPS DSP/rev2 instructions [auto]
|
|
|
|
|
|
|
|
-qreal <type> ........ typedef qreal to the specified type. [double]
|
|
|
|
Note: this affects binary compatibility.
|
|
|
|
|
|
|
|
-R <string> .......... Add an explicit runtime library path to the Qt
|
|
|
|
libraries. Supports paths relative to LIBDIR.
|
|
|
|
-rpath ............... Link Qt libraries and executables using the library
|
|
|
|
install path as a runtime library path. Similar to
|
|
|
|
-R LIBDIR. On Apple platforms, disabling this implies
|
|
|
|
using absolute install names (based in LIBDIR) for
|
|
|
|
dynamic libraries and frameworks. [auto]
|
|
|
|
|
|
|
|
-reduce-exports ...... Reduce amount of exported symbols [auto]
|
2016-08-01 10:40:03 +00:00
|
|
|
-reduce-relocations .. Reduce amount of relocations [auto] (Unix only)
|
|
|
|
|
|
|
|
-plugin-manifests .... Embed manifests into plugins [no] (Windows only)
|
|
|
|
-static-runtime ...... With -static, use static runtime [no] (Windows only)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
-pch ................. Use precompiled headers [auto]
|
|
|
|
-ltcg ................ Use Link Time Code Generation [no]
|
2019-01-17 14:39:32 +00:00
|
|
|
-linker [bfd,gold,lld] Force use of the GNU ld, GNU gold or LLVM/LLD linker
|
|
|
|
instead of default one (GCC only)
|
2016-08-01 10:40:03 +00:00
|
|
|
-incredibuild-xge .... Use the IncrediBuild XGE [no] (Windows only)
|
2017-06-02 12:08:32 +00:00
|
|
|
-ccache .............. Use the ccache compiler cache [no] (Unix only)
|
2016-08-01 10:40:03 +00:00
|
|
|
-make-tool <tool> .... Use <tool> to build qmake [nmake] (Windows only)
|
|
|
|
-mp .................. Use multiple processors for compilation (MSVC only)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
-warnings-are-errors . Treat warnings as errors [no; yes if -developer-build]
|
|
|
|
-silent .............. Reduce the build output so that warnings and errors
|
|
|
|
can be seen more easily
|
|
|
|
|
|
|
|
Build environment:
|
|
|
|
|
|
|
|
-sysroot <dir> ....... Set <dir> as the target sysroot
|
|
|
|
-gcc-sysroot ......... With -sysroot, pass --sysroot to the compiler [yes]
|
|
|
|
|
2016-08-01 10:40:03 +00:00
|
|
|
-pkg-config .......... Use pkg-config [auto] (Unix only)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
-D <string> .......... Pass additional preprocessor define
|
|
|
|
-I <string> .......... Pass additional include path
|
|
|
|
-L <string> .......... Pass additional library path
|
|
|
|
-F <string> .......... Pass additional framework path (Apple only)
|
|
|
|
|
|
|
|
-sdk <sdk> ........... Build Qt using Apple provided SDK <sdk>. The argument
|
|
|
|
should be one of the available SDKs as listed by
|
|
|
|
'xcodebuild -showsdks'.
|
|
|
|
Note that the argument applies only to Qt libraries
|
|
|
|
and applications built using the target mkspec - not
|
|
|
|
host tools such as qmake, moc, rcc, etc.
|
|
|
|
|
|
|
|
-android-sdk path .... Set Android SDK root path [$ANDROID_SDK_ROOT]
|
|
|
|
-android-ndk path .... Set Android NDK root path [$ANDROID_NDK_ROOT]
|
|
|
|
-android-ndk-platform Set Android platform
|
|
|
|
-android-ndk-host .... Set Android NDK host (linux-x86, linux-x86_64, etc.)
|
|
|
|
[$ANDROID_NDK_HOST]
|
2019-08-19 08:42:51 +00:00
|
|
|
-android-abis ....... Comma separated Android abis, default is:
|
|
|
|
armeabi-v7a,arm64-v8a,x86,x86_64
|
2016-08-05 15:58:02 +00:00
|
|
|
-android-style-assets Automatically extract style assets from the device at
|
|
|
|
run time. This option makes the Android style behave
|
|
|
|
correctly, but also makes the Android platform plugin
|
|
|
|
incompatible with the LGPL2.1. [yes]
|
|
|
|
|
|
|
|
Component selection:
|
|
|
|
|
|
|
|
-skip <repo> ......... Exclude an entire repository from the build.
|
|
|
|
-make <part> ......... Add <part> to the list of parts to be built.
|
|
|
|
Specifying this option clears the default list first.
|
|
|
|
[libs and examples, also tools if not cross-building,
|
|
|
|
also tests if -developer-build]
|
|
|
|
-nomake <part> ....... Exclude <part> from the list of parts to be built.
|
2018-10-03 12:14:23 +00:00
|
|
|
-compile-examples .... When unset, install only the sources of examples
|
|
|
|
[no on WebAssembly, otherwise yes]
|
2016-08-05 15:58:02 +00:00
|
|
|
-gui ................. Build the Qt GUI module and dependencies [yes]
|
|
|
|
-widgets ............. Build the Qt Widgets module and dependencies [yes]
|
2016-08-01 10:40:03 +00:00
|
|
|
-no-dbus ............. Do not build the Qt D-Bus module
|
|
|
|
[default on Android and Windows]
|
2016-08-05 15:58:02 +00:00
|
|
|
-dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
|
|
|
|
-dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1 [no]
|
|
|
|
-accessibility ....... Enable accessibility support [yes]
|
|
|
|
Note: Disabling accessibility is not recommended.
|
|
|
|
|
|
|
|
Qt comes with bundled copies of some 3rd party libraries. These are used
|
|
|
|
by default if auto-detection of the respective system library fails.
|
|
|
|
|
|
|
|
Core options:
|
|
|
|
|
|
|
|
-doubleconversion .... Select used double conversion library [system/qt/no]
|
|
|
|
No implies use of sscanf_l and snprintf_l (imprecise).
|
2016-08-01 10:40:03 +00:00
|
|
|
-glib ................ Enable Glib support [no; auto on Unix]
|
2016-07-14 10:46:44 +00:00
|
|
|
-eventfd ............. Enable eventfd support
|
|
|
|
-inotify ............. Enable inotify support
|
2016-08-01 10:40:03 +00:00
|
|
|
-iconv ............... Enable iconv(3) support [posix/sun/gnu/no] (Unix only)
|
2016-08-05 15:58:02 +00:00
|
|
|
-icu ................. Enable ICU support [auto]
|
2019-01-04 15:26:19 +00:00
|
|
|
-pcre ................ Select used libpcre2 [system/qt/no]
|
2016-08-05 15:58:02 +00:00
|
|
|
-pps ................. Enable PPS support [auto] (QNX only)
|
|
|
|
-zlib ................ Select used zlib [system/qt]
|
|
|
|
|
|
|
|
Logging backends:
|
2016-08-01 10:40:03 +00:00
|
|
|
-journald .......... Enable journald support [no] (Unix only)
|
|
|
|
-syslog ............ Enable syslog support [no] (Unix only)
|
2016-08-05 15:58:02 +00:00
|
|
|
-slog2 ............. Enable slog2 support [auto] (QNX only)
|
|
|
|
|
|
|
|
Network options:
|
|
|
|
|
|
|
|
-ssl ................. Enable either SSL support method [auto]
|
2016-08-01 10:40:03 +00:00
|
|
|
-no-openssl .......... Do not use OpenSSL [default on Apple and WinRT]
|
2016-08-05 15:58:02 +00:00
|
|
|
-openssl-linked ...... Use OpenSSL and link to libssl [no]
|
|
|
|
-openssl-runtime ..... Use OpenSSL and dynamically load libssl [auto]
|
|
|
|
-securetransport ..... Use SecureTransport [auto] (Apple only)
|
|
|
|
|
|
|
|
-sctp ................ Enable SCTP support [no]
|
|
|
|
|
|
|
|
-libproxy ............ Enable use of libproxy [no]
|
|
|
|
-system-proxies ...... Use system network proxies by default [yes]
|
|
|
|
|
|
|
|
Gui, printing, widget options:
|
|
|
|
|
2016-08-01 10:40:03 +00:00
|
|
|
-cups ................ Enable CUPS support [auto] (Unix only)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
2016-08-01 10:40:03 +00:00
|
|
|
-fontconfig .......... Enable Fontconfig support [auto] (Unix only)
|
2016-08-05 15:58:02 +00:00
|
|
|
-freetype ............ Select used FreeType [system/qt/no]
|
|
|
|
-harfbuzz ............ Select used HarfBuzz-NG [system/qt/no]
|
|
|
|
(Not auto-detected on Apple and Windows)
|
|
|
|
|
|
|
|
-gtk ................. Enable GTK platform theme support [auto]
|
|
|
|
|
|
|
|
-lgmon ............... Enable lgmon support [auto] (QNX only)
|
|
|
|
|
|
|
|
-no-opengl ........... Disable OpenGL support
|
|
|
|
-opengl <api> ........ Enable OpenGL support. Supported APIs:
|
2016-08-01 10:40:03 +00:00
|
|
|
es2 (default on Windows), desktop (default on Unix),
|
|
|
|
dynamic (Windows only)
|
2016-08-05 15:58:02 +00:00
|
|
|
-opengles3 ........... Enable OpenGL ES 3.x support instead of ES 2.x [auto]
|
2019-08-16 12:26:32 +00:00
|
|
|
-egl ................. Enable EGL support [auto]
|
2016-08-01 10:40:03 +00:00
|
|
|
-angle ............... Use bundled ANGLE to support OpenGL ES 2.0 [auto]
|
|
|
|
(Windows only)
|
2017-05-04 08:15:23 +00:00
|
|
|
-combined-angle-lib .. Merge LibEGL and LibGLESv2 into LibANGLE (Windows only)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
2018-02-14 14:51:38 +00:00
|
|
|
-qpa <name> .......... Select default QPA backend(s) (e.g., xcb, cocoa, windows)
|
|
|
|
A prioritized list separated by semi-colons.
|
2016-08-05 15:58:02 +00:00
|
|
|
-xcb-xlib............. Enable Xcb-Xlib support [auto]
|
|
|
|
|
|
|
|
Platform backends:
|
2016-11-02 09:14:58 +00:00
|
|
|
-direct2d .......... Enable Direct2D support [auto] (Windows only)
|
2016-08-05 15:58:02 +00:00
|
|
|
-directfb .......... Enable DirectFB support [no] (Unix only)
|
2016-08-01 10:40:03 +00:00
|
|
|
-eglfs ............. Enable EGLFS support [auto; no on Android and Windows]
|
2016-08-05 15:58:02 +00:00
|
|
|
-gbm ............... Enable backends for GBM [auto] (Linux only)
|
|
|
|
-kms ............... Enable backends for KMS [auto] (Linux only)
|
|
|
|
-linuxfb ........... Enable Linux Framebuffer support [auto] (Linux only)
|
3rdparty: remove xcb libs and bump minimal required version to 1.11
With libxcb 1.11 as minimal required version we can:
(a) (Maybe) Enable threaded GL for MESA, see QTBUG-67277.
(b) Avoid performance issues described in QTBUG-46017. Bundled xcb libs don't
contain the more modern SHM fd passing APIs. The official binaries use
"-qt-xcb", therefore we were shipping with the performance fix #ifdef-ed out.
(c) Make xcb-xkb a mandatory dependency avoiding issues described in QTBUG-30911.
Issues that appear when Qt was configure with "-no-xkb -xcb-xlib", but
X server has the XKB extension.
(d) Drop all, but xcb-xinput sources from src/3rdparty/xcb/, for which
we need "xcb-xinput >= 1.12". This way we can reduce maintenance
work. The xcb libraries were origianlly bundled because of lack of availability
on supported distributions. This is not the case anymore:
CI for Qt 5.13 has:
Ubuntu 18.04 - libxcb 1.13
RHEL 7.4 - libxcb 1.13
openSUSE 15.0 - libxcb 1.13
CI for Qt 5.12 has:
Ubuntu 16.04 - libxcb 1.11
RHEL 7.4 - libxcb 1.13
openSUSE 42.3 - libxcb 1.11
RHEL 6.x - not relevant because it was dropped from supported platforms.
Why 1.11 (released on Aug, 2014), but not 1.13 (released on March 2018)?
Based on what we have in CI for 5.13 and 5.14 we could update to 1.13,
but it means that Qt would require a very recent version of 3rd party
dependency.
[ChangeLog][Configure][X11] The minimal required version of libxcb now is 1.11.
[ChangeLog][Third-Party Code][X11] Removed all bundled XCB libs, with
the exception of xcb-xinput, which is not available on systems with
libxcb 1.11.
[ChangeLog][Configure][X11] Removed -qt-xcb, -system-xcb, -xkb, -xcb-xinput switches.
[ChangeLog][Platform Specific Changes][X11] XKB and XInput2 now are mandatory
dependencies for XCB plugin. XCB-XKB is a part of libxcb 1.11 releases.
XCB-XInput is not part of libxcb 1.11 releases, but Qt builders can use
-bundled-xcb-xinput switch.
Fixes: QTBUG-73862
Fixes: QTBUG-73888
Task-number: QTBUG-67277
Task-number: QTBUG-30939
Change-Id: I4c2bd2a0e667220d32fd1fbfa1419c844f17fcce
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2019-02-19 09:09:19 +00:00
|
|
|
-xcb ............... Enable X11 support [auto] (Linux only)
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
Input backends:
|
2017-11-28 13:11:07 +00:00
|
|
|
-libudev............ Enable udev support [auto]
|
2016-08-05 15:58:02 +00:00
|
|
|
-evdev ............. Enable evdev support [auto]
|
|
|
|
-imf ............... Enable IMF support [auto] (QNX only)
|
|
|
|
-libinput .......... Enable libinput support [auto]
|
|
|
|
-mtdev ............. Enable mtdev support [auto]
|
|
|
|
-tslib ............. Enable tslib support [auto]
|
3rdparty: remove xcb libs and bump minimal required version to 1.11
With libxcb 1.11 as minimal required version we can:
(a) (Maybe) Enable threaded GL for MESA, see QTBUG-67277.
(b) Avoid performance issues described in QTBUG-46017. Bundled xcb libs don't
contain the more modern SHM fd passing APIs. The official binaries use
"-qt-xcb", therefore we were shipping with the performance fix #ifdef-ed out.
(c) Make xcb-xkb a mandatory dependency avoiding issues described in QTBUG-30911.
Issues that appear when Qt was configure with "-no-xkb -xcb-xlib", but
X server has the XKB extension.
(d) Drop all, but xcb-xinput sources from src/3rdparty/xcb/, for which
we need "xcb-xinput >= 1.12". This way we can reduce maintenance
work. The xcb libraries were origianlly bundled because of lack of availability
on supported distributions. This is not the case anymore:
CI for Qt 5.13 has:
Ubuntu 18.04 - libxcb 1.13
RHEL 7.4 - libxcb 1.13
openSUSE 15.0 - libxcb 1.13
CI for Qt 5.12 has:
Ubuntu 16.04 - libxcb 1.11
RHEL 7.4 - libxcb 1.13
openSUSE 42.3 - libxcb 1.11
RHEL 6.x - not relevant because it was dropped from supported platforms.
Why 1.11 (released on Aug, 2014), but not 1.13 (released on March 2018)?
Based on what we have in CI for 5.13 and 5.14 we could update to 1.13,
but it means that Qt would require a very recent version of 3rd party
dependency.
[ChangeLog][Configure][X11] The minimal required version of libxcb now is 1.11.
[ChangeLog][Third-Party Code][X11] Removed all bundled XCB libs, with
the exception of xcb-xinput, which is not available on systems with
libxcb 1.11.
[ChangeLog][Configure][X11] Removed -qt-xcb, -system-xcb, -xkb, -xcb-xinput switches.
[ChangeLog][Platform Specific Changes][X11] XKB and XInput2 now are mandatory
dependencies for XCB plugin. XCB-XKB is a part of libxcb 1.11 releases.
XCB-XInput is not part of libxcb 1.11 releases, but Qt builders can use
-bundled-xcb-xinput switch.
Fixes: QTBUG-73862
Fixes: QTBUG-73888
Task-number: QTBUG-67277
Task-number: QTBUG-30939
Change-Id: I4c2bd2a0e667220d32fd1fbfa1419c844f17fcce
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2019-02-19 09:09:19 +00:00
|
|
|
-bundled-xcb-xinput Use bundled XInput2 support [auto]
|
2018-11-16 16:07:33 +00:00
|
|
|
-xkbcommon ......... Enable key mapping support [auto]
|
2016-08-05 15:58:02 +00:00
|
|
|
|
|
|
|
Image formats:
|
|
|
|
-gif ............... Enable reading support for GIF [auto]
|
2016-07-15 14:29:37 +00:00
|
|
|
-ico ............... Enable support for ICO [yes]
|
2016-08-05 15:58:02 +00:00
|
|
|
-libpng ............ Select used libpng [system/qt/no]
|
|
|
|
-libjpeg ........... Select used libjpeg [system/qt/no]
|
|
|
|
|
|
|
|
Database options:
|
|
|
|
|
|
|
|
-sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers:
|
|
|
|
db2 ibase mysql oci odbc psql sqlite2 sqlite tds
|
|
|
|
[all auto]
|
|
|
|
-sqlite .............. Select used sqlite3 [system/qt]
|