Qt 6.11 is out! See what's new in the release
blog
QtQuick.Controls 2.0 cannot accept width/height of ApplicationWindow
-
Hi there!
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.