Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.14.0
-
None
-
9cef433db (dev), 433a1872f (6.5), c62c763d6 (6.6)
Description
The new properties in ComboBox clash with properties with the same name, even if importing previous revisions of the QtQuick.Controls module that should not expose the properties at all.
import QtQuick 2.12 import QtQuick.Window 2.12 import QtQuick.Controls 2.0 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") ComboBox { anchors.centerIn: parent property var currentValue: 0 } }
This, despite the "2.0" import, leads to an error:
qrc:/main.qml:14 Cannot override FINAL property
Thus existing QML code that happens to use the same properties that were now introduced isn't source compatible, other than what the versioning system promises.
See also QTBUG-65266.
Attachments
Issue Links
- depends on
-
QTBUG-71278 Imports and versioning in QML
- Closed
- is duplicated by
-
QTBUG-94735 Impossible to import a lower version of Quickcontrols when build with higher version of Qt
- Closed
- relates to
-
QTBUG-65266 Interaction between FINAL and REVISION on a property don't fully make sense
- Open
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-80788 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
481152,5 | Doc: explain issues with revisions | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
484462,2 | Doc: explain issues with revisions | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
484463,2 | Doc: explain issues with revisions | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |