summaryrefslogtreecommitdiffstats
path: root/cmake/QtSetup.cmake
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-12-04 10:16:54 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-12-08 08:47:48 +0100
commitc7443d2e11c6558dc415d611d4d99e9286ddf0c0 (patch)
treeb4962397a90f92dd093734c13bc8042c21d019d3 /cmake/QtSetup.cmake
parent1ee2558b23490efec117f2a3b94a970e5c9ebb89 (diff)
QPropertyBindingPrivate: Enable QML engine error handling
The QPropertyBindingSourceLocation is only useful for C++ bindings; for QML bindings we store the binding location in the V4 function. As the QML binding needs to store some additional information for error handling, we allow that memory to be reused by putting it into a union with an array of byte. Moreover, we use some of the space to store a callback pointer, which gets called when an error occurs during binding evaluation. That callback is only called when we know that the binding actually was set up from the QML engine, in which case a bitflag is set. Task-number: QTBUG-87733 Change-Id: I4387a4bd59d4d1ccfe75756ce81f4608319e0490 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'cmake/QtSetup.cmake')
0 files changed, 0 insertions, 0 deletions