Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10
-
None
Description
QtQuickControls2 added an 'opened' prop to Popup in 5.10 (import 2.3) marked REVISION 3 FINAL.
This should not have affected code using older imports in my opinion, but FINAL appears to trump REVISION, meaning that code that had:
property bool opened
... in a Drawer or Popup etc with the older import version now breaks with the message:
Cannot override FINAL property
I think that REVISION needs to be checked before FINAL in this case.
Testcase:
import QtQuick.Controls 2.2 Drawer { property bool opened: position > 0.0 /* don't be closed until we are fully closed */ }
Attachments
Issue Links
- depends on
-
QTBUG-71278 Imports and versioning in QML
- Closed
- relates to
-
QTBUG-80788 [5.14 REG] New properties in ComboBox clash with custom properties (revision ignored)
- Closed