[Interest] [interest] Qt 5.2 RC1: QtCreator syntax checker does not recognize the properties of the QtQuick-Control Label

Helmut Mülner helmut.muelner at gmail.com
Thu Nov 14 10:29:49 CET 2013


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131114/5b1363b5/attachment.html>


More information about the Interest mailing list