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.
17 lines
336 B
Meson
17 lines
336 B
Meson
threaded_testbed_sources = files(
|
|
'threaded_testbed.c',
|
|
)
|
|
|
|
threaded_testbed = executable(
|
|
'threaded_testbed',
|
|
threaded_testbed_sources,
|
|
dependencies: [liblcms2_threaded_dep, liblcms2_dep],
|
|
c_args: cargs + ['-DPROFILES_DIR="@0@"'.format(profiles_dir / '')],
|
|
)
|
|
|
|
test(
|
|
'threaded_testbed',
|
|
threaded_testbed,
|
|
timeout: 600,
|
|
)
|