summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-07-07 13:14:34 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2021-07-07 17:07:15 +0200
commitfd308819891fdc3c4296050193e97f5d9259501f (patch)
treeea0d1776028714407ebffac939c21c7cf7ba8685 /cmake
parent8ade7d3a3ef12221c444fa76afb55ed9daf83a9a (diff)
QProperty: Downgrade assert in noSelfDependencies to warning
We call evaluateRecursive_inline in setBinding, which in turns runs the noSelfDependecies check. However, creating a binding resuting in a binding loop must not crash, but instead result in the binding entering an error state. To prevent a crash caused by the assert in debug builds of Qt, we replace the assert with a warning for now. A better approach in the future would be to ensure that we only run the check in cases where we are sure that a self-dependency is really a fatal error. Pick-to: 6.2 Change-Id: I58158864ed81fa907132a4e7d6667c9b529e7e64 Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions