Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtQuick.Controls 2.0 cannot accept width/height of ApplicationWindow
simonh5 last edited by simonh5
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.
jpnurmi last edited by
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.
simonh5 last edited by
Thanks a lot, jpnurmi! It works perfectly!