qt6-bb10/src/gui
Alexandru Croitor e4b8c488bd Improve configure2cmake to find_package only in certain conditions
It doesn't make much sense to look for X11 related packages on
macOS and Windows by default. Usually they would not be there, and
as a result the configuration step would show a long list of scary
not found packages, and also eat precious configure time.

Change the conversion script to allow putting conditions around
generated find_package calls.

These conditions can be manually set in the conversion script
library mapping, using the emit_if argument,
which we do for the X11 and Wayland related packages.

They are also computed by checking which features use a given library,
and if the feature is protected by a simple emitIf condition like
config.linux, the relevant library find_package call will be protected
by the same condition.

If a developer still wishes to look for all packages, they can define
the CACHE variable QT_FIND_ALL_PACKAGES_ALWAYS to ON.

The relevant configure.cmake files are regenerated in this patch.

Change-Id: I6f918a94f50257ec41d6216305dae9774933389a
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-05-20 13:15:16 +00:00
..
accessible More nullptr usage in headers 2019-03-14 07:37:52 +00:00
animation Modernize the "animation" feature 2018-10-12 14:26:15 +00:00
doc Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-08 12:31:02 +01:00
image Merge remote-tracking branch 'origin/5.13' into dev 2019-04-10 08:16:20 +02:00
itemmodels Merge "Merge remote-tracking branch 'origin/5.13' into dev" into refs/staging/dev 2019-03-15 19:04:30 +00:00
kernel Merge remote-tracking branch 'origin/5.13' into dev 2019-04-10 08:16:20 +02:00
math3d Doc: Move literal code block to a separate file 2018-10-15 10:55:18 +00:00
opengl Replace qMove with std::move 2019-04-06 11:00:38 +00:00
painting Add Extended RGB model to QColor 2019-04-12 14:57:02 +00:00
platform wasm: add local file access private API 2019-02-07 06:49:21 +00:00
text Revert "Fix font matching of typographic families on Windows" 2019-04-09 06:02:22 +00:00
util Merge commit 'dev' into 'wip/cmake-merge' 2019-04-16 16:32:08 +02:00
vulkan Replace Q_DECL_NOEXCEPT with noexcept in QtGui 2019-04-05 22:26:49 +00:00
.prev_CMakeLists.txt Regenerate gui 2019-05-20 09:34:54 +00:00
CMakeLists.txt Regenerate gui 2019-05-20 09:34:54 +00:00
QtGui.dynlist
configure.cmake Improve configure2cmake to find_package only in certain conditions 2019-05-20 13:15:16 +00:00
configure.json Merge remote-tracking branch 'gerrit/dev' into wip/cmake 2019-04-16 16:50:27 +02:00
configure.pri Fix determination of OpenGL include paths on macOS, take 2 2019-02-27 09:53:52 +00:00
gui.pro wasm: add local file access private API 2019-02-07 06:49:21 +00:00
qtgui.tracepoints Forward declare all types required for compilation with `-trace` 2019-04-05 11:57:39 +00:00