qt5base-lts/src/gui
Gatis Paeglis 60588e1a5d 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-08-27 01:06:40 +02:00
..
accessible Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-20 07:50:44 +02:00
animation Modernize the "animation" feature 2018-10-12 14:26:15 +00:00
doc Long live QColorConstants! 2019-08-25 16:31:32 +02:00
image Say hello to Android multi arch build in one go 2019-08-26 12:59:15 +03:00
itemmodels Merge remote-tracking branch 'origin/5.13' into dev 2019-05-13 08:04:58 +02:00
kernel Remove usages of deprecated APIs of QWheelEvent 2019-08-23 21:51:43 +02:00
math3d QVector3D: fix documentation spelling error 2019-06-19 10:25:57 +02:00
opengl Introduce QImage::Format_BGR888 2019-08-23 11:54:09 +02:00
painting Say hello to Android multi arch build in one go 2019-08-26 12:59:15 +03:00
platform wasm: Add saveFileContent() 2019-08-20 19:34:53 +02:00
rhi rhi: d3d11: Rework swapchain effect handling 2019-08-17 15:01:15 +02:00
text Android: Update clang mkspecs 2019-08-22 16:32:47 +03:00
util Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
vulkan Fix build without feature.xmlstreamreader 2019-07-05 16:11:28 +09:00
configure.json 3rdparty: remove xcb libs and bump minimal required version to 1.11 2019-08-27 01:06:40 +02:00
configure.pri Fix determination of OpenGL include paths on macOS, take 3 2019-04-27 07:32:53 +00:00
gui.pro Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
Qt5GuiConfigExtras.cmake.in Fix generation of the Qt5::GLESv2 target on ARM 2019-03-05 13:31:42 +00:00
QtGui.dynlist Add dynlist file for QtGui 2013-03-18 17:11:04 +01:00
qtgui.tracepoints Don't pass scope args to _exit trace points 2019-04-30 07:42:19 +00:00