Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.2
-
None
-
-
5c1cbf6b3fc253a947007a2fa961d45676a847fb (qt-creator/qt-creator/master)
Description
The documentation highlights inline component declaration but Qt Creator and Qt Design Studio complain the component is unknown. The UI seems to display properly in live preview but the editor marks the line as an error.
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") component Level : Rectangle { property bool activated: false } Level { // Error M300 Unknown Component } }
Attachments
Issue Links
- depends on
-
QTCREATORBUG-24705 Support Inline components in creator code model
- Closed