Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.6.0
-
None
-
5cf6ad9165cc38b7b2a7e2421d70f0d93256c866
Description
Test case:
import QtQuick 2.6 import QtQuick.Controls 1.2 import Qt.labs.calendar 1.0 as LC ApplicationWindow { visible: true Calendar { } }
Error:
QQmlApplicationEngine failed to load component
qrc:/main.qml:7 Type Calendar unavailable
file:///Users/jpnurmi/Qt/5.6/clang_64/qml/QtQuick/Controls/Calendar.qml:216 Cannot assign object to property
Source:
property CalendarModel __model: CalendarModel { // <== line 216 locale: calendar.__locale visibleDate: new Date(visibleYear, visibleMonth, 1) }
See also https://forum.qt.io/topic/67237/labs-and-controls-conflict
Attachments
Issue Links
- relates to
-
QTBUG-48240 ComboBox from Controls 1 incompatible with Tumbler from Controls 2
- Closed