Hi,

 

if I use a Label (QtQuick.Controls 1.1) the QtCreator syntax checker does
not recognize its attributes, e.g.:

 

 

import QtQuick 2.1

import QtQuick.Controls 1.1

 

ApplicationWindow {

    title: qsTr("Hello World")

    width: 640

    height: 480

 

    Label {

        text: qsTr("Hello World")

        anchors.centerIn: parent

    }

}

 

 

…\main.qml:10: error: Invalid property name 'text'. (M16)

 

Is this a bug or does QtCreator not yet support QtQuick.Controls 1.1?

Best regards

HM

 

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to