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.
11 lines
772 B
Meson
11 lines
772 B
Meson
option('tests', type: 'feature', value: 'enabled', yield: true, description: 'Enable or disable tests')
|
|
|
|
option('jpeg', type: 'feature', value: 'auto', description: 'Use JPEG')
|
|
option('tiff', type: 'feature', value: 'auto', description: 'Use LibTiff')
|
|
|
|
option('utils', type: 'boolean', value: false, description: 'Build the utils')
|
|
option('fastfloat', type: 'boolean', value: false, description: 'Build and install the fast float plugin, use only if GPL 3.0 is acceptable')
|
|
option('threaded', type: 'boolean', value: false, description: 'Build and install the multi threaded plugin, use only if GPL 3.0 is acceptable')
|
|
|
|
option('versionedlibs', type: 'boolean', value: true, description: 'Enable building of .so.version libraries, disable when crosscompiling for Android')
|