qtdeclarative: define QT_FEATURE_quick_sprite (fixes QtQuick #if div-by-zero)
redbear-ci / check (push) Waiting to run

quick_sprite was the one QtQuick feature missing from qtquick-config_p.h (10
others defined), so any consumer including the private scenegraph headers hit
'#if QT_CONFIG(quick_sprite)' -> 1/QT_FEATURE_quick_sprite with the macro
undefined -> 'division by zero in #if'. This blocked qt5compat's GraphicalEffects
QML module (and would block every QtQuick-based QML module across the Plasma
stack). Enable -DQT_FEATURE_quick_sprite=ON alongside the other quick_* features.
This commit is contained in:
2026-08-02 13:25:13 +03:00
parent d173dfe7cd
commit 7c1627d6c0
@@ -266,6 +266,7 @@ cmake "${COOKBOOK_SOURCE}" \
-DQT_FEATURE_quick_shadereffect=ON \
-DQT_FEATURE_quick_draganddrop=ON \
-DQT_FEATURE_quick_controls2=ON \
-DQT_FEATURE_quick_sprite=ON \
-Wno-dev
cmake --build . --target Qml Quick QuickWidgets QmlModels QmlWorkerScript QmlIntegration LabsSettings QuickControls2 QuickTemplates2 QuickVectorImageGeneratorPrivate QuickVectorImage QuickVectorImageHelpers -j${COOKBOOK_MAKE_JOBS}