QtQuick.Controls 2.0 cannot accept width/height of ApplicationWindow
In any project in the example gallery of Qt oder an example by myself, the import of QtQuick.Controls 2.0 doesn't accept the property width, height or visible in the ApplicationWindow. What's wrong?
I am working with Qt 5.7, Windows 10.
Thanks for any help.
It's just a glitch in the Qt Creator version that was released with Qt 5.7.0. The app still runs, right? Adding
import QtQuick.Window 2.2before the controls import should help Qt Creator to figure it out.
Thanks a lot, jpnurmi! It works perfectly!