Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.0, Qt Creator 4.14.0
-
5c1cbf6b3fc253a947007a2fa961d45676a847fb (qt-creator/qt-creator/master)
Description
Support for inline components, has been added in 5.15, and the parser update lets Creator parse them, but errors are reported about them.
Failing example:
import QtQuick.Window 2.15 import QtQuick 2.15 Window { width: 200 height: 100 visible: true title: "Inline component test" component TestComponent : Item { property alias text: innerText.text width: innerText.implicitWidth height: innerText.implicitHeight Text { id: innerText } } TestComponent { text: "Something" } }
Attachments
Issue Links
- is required for
-
QTCREATORBUG-23591 QML code model should support QML valid with Qt5.15 and MCU
- Closed
-
QTCREATORBUG-24766 Component Unknown when using Inline Components
- Closed