Add condition maps for special cases in tests/manual
Change-Id: I426766c68f6f118d0706455689d968534e406d3d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
706e7fdb0c
commit
942d391b53
@ -1879,6 +1879,9 @@ def map_to_cmake_condition(condition: str = "") -> str:
|
||||
r'(TEST_architecture_arch STREQUAL "\1")',
|
||||
condition or "",
|
||||
)
|
||||
condition = condition.replace('QT___contains___opengl', 'QT_FEATURE_opengl')
|
||||
condition = condition.replace('QT___contains___widgets', 'QT_FEATURE_widgets')
|
||||
condition = condition.replace('DEFINES___contains___QT_NO_PRINTER', '(QT_FEATURE_printer EQUAL FALSE)')
|
||||
return condition
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user