Unknow editing main.qml in QtQuick Designer
Solved
QML and Qt Quick
-
Hi guys... I'm trying to do the same that this video does:
but when I'm trying to edit on the Qt Quick Designer the main.qml file I got the following error:
Cannot open this QML document because of an error in the QML file: Invalid property "visible". (M16) (8:5)
my main.qml file look like this:
import QtQuick 2.7 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.3 import QtQuick.Controls.Material 2.0 ApplicationWindow { visible: true width: 1280 height: 800 title: qsTr("Smart Home") SwipeView{ id: swipeView anchors.fill: parent currentIndex: tabBar.currentIndex } footer: TabBar { id: tabBar currentIndex: swipeView.currentIndex TabButton { text: qsTr("First") } TabButton { text: qsTr("Second") } } }
the most interesting thing is that this code run perfectly, but I can't edit this file with Qt Quick Designer...
any idea???
regards
-
Thanks... it's work for me
regards