qt6-bb10/util/cmake/tests/data
Alexandru Croitor 2389aaf8c7 pro2cmake: Handle qmake condition operator precedence
Unfortunately qmake does not have operator precedence in conditions,
and each sub-expression is simply evaluated left to right.

So c1|c2:c3 is evaluated as (c1|c2):c3 and not c1|(c2:c3). To handle
that in pro2cmake, wrap each condition sub-expression in parentheses.

It's ugly, but there doesn't seem to be another way of handling it,
because SymPy uses Python operator precedence for condition operators,
and it's not possible to change the precendece.

Fixes: QTBUG-78929
Change-Id: I6ab767c4243e3f2d0fea1c36cd004409faba3a53
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-02-28 15:41:11 +01:00
..
comment_scope.pro
complex_assign.pro
complex_condition.pro
complex_values.pro
condition_operator_precedence.pro
condition_without_scope.pro
contains_scope.pro
definetest.pro
else.pro
else2.pro
else3.pro
else4.pro
else5.pro
else6.pro
else7.pro
else8.pro
escaped_value.pro
for.pro
function_if.pro
include.pro
lc.pro
lc_with_comment.pro
load.pro
multi_condition_divided_by_lc.pro
multiline_assign.pro
nested_function_calls.pro
quoted.pro
single_line_for.pro
sql.pro
standardpaths.pro
unset.pro
value_function.pro