[Qt-creator] linting error with QML State machine

Jason H jhihn at gmx.com
Mon Oct 7 19:22:43 CEST 2019


No matter what I do, it is not happy.
Either it says Invalid property name "target" when using a namespace, or it complains that State cannot have children even if there is no QtQuick import.
See attached.

Per https://doc.qt.io/qt-5/qmlstatemachine.html, "Using Both QtQuick and QtQml.StateMachine Imports" there should be a way to resolve this, but I'm not even using a QtQuick import.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-10-07 at 1.11.11 PM.png
Type: image/png
Size: 17090 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20191007/80cd1ed5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-10-07 at 1.19.15 PM.png
Type: image/png
Size: 22520 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20191007/80cd1ed5/attachment-0003.png>


More information about the Qt-creator mailing list