diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-01-06 16:12:34 +0100 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-01-12 16:33:55 +0100 |
| commit | 94e474b48e9d3c6434339afe166c2329f8c36ea2 (patch) | |
| tree | 2f99e79a62a5346ce089298725bf158378ee616d /src/gui/platform/unix/qunixnativeinterface.cpp | |
| parent | 903157444098035ba8372f0951543b7756a2ec0f (diff) | |
CMake: Add switch for allowing missing Qt6*Tools packages
Consider a cross build of Qt with qtbase, qtshadertools and
qtdeclarative. If a user projects only links against QtQml without
creating an actual QtQuick module, no host tools from qtdeclarative are
needed.
Normally, find_package(Qt6Qml) pulls in Qt6QmlTools and errors out if
it's not found. By setting QT_ALLOW_MISSING_TOOLS_PACKAGES when
configuring Qt, one can disable the error and build a user project such
as the one outlined above.
Pick-to: 6.4 6.5
Fixes: QTBUG-109547
Change-Id: I45e727713912d19e6007a7fbf3d61533f82b71d9
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions
