1a9d77761e
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.
22 lines
642 B
Meson
22 lines
642 B
Meson
option('docs',
|
|
type: 'boolean', value: false,
|
|
description: 'Enable generating the Epoxy API reference (depends on Doxygen)')
|
|
option('glx',
|
|
type: 'combo',
|
|
choices: [ 'auto', 'yes', 'no' ],
|
|
value: 'auto',
|
|
description: 'Enable GLX support')
|
|
option('egl',
|
|
type: 'combo',
|
|
choices: [ 'auto', 'yes', 'no' ],
|
|
value: 'auto',
|
|
description: 'Enable EGL support')
|
|
option('x11',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Enable X11 support (GLX or EGL-X11)')
|
|
option('tests',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Build the test suite')
|