fix(qtdeclarative): properly generate qtquick-config.h features

The qtquick-config.h file was being generated empty by the cmake
build, causing 'division by zero in #if' errors in downstream
consumers (SDDM, KWin) because QT_CONFIG(quick_shadereffect) and
QT_CONFIG(quick_draganddrop) were undefined.

Two fixes:
1. Explicitly enable QT_FEATURE_quick_shadereffect and
   QT_FEATURE_quick_draganddrop in the cmake configuration.
2. Add a safety net that regenerates qtquick-config.h with the
   required feature definitions if cmake produces an empty file.
This commit is contained in:
2026-06-21 15:12:40 +03:00
parent f83a059c25
commit 1a9d77761e
431 changed files with 234290 additions and 0 deletions
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="1">
<includedir>
<dir name="../../include/"/>
</includedir>
<paths>
<dir name="../../src"/>
</paths>
</project>