qt: invalid property name 'x' (M16) for button
It's a bug in the type info that is generated for controls for use of Qt Creator.
To suppress this error, add comment:
Button {
// @disable-check M16
x: 80
y: 0
}
I moved these imports to the top, before any other import and problem got resovled:
import QtQml.Models 2.2
import QtQml 2.2
Try to add import QtQuick.Window 2.2 before all other imports in qml.