On Nov 14, 2013, at 10:25 AM, Helmut Mülner <[email protected]> wrote:
> 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?
Well, it's a bug, though technically not in Qt Creator's qml support, but in
the type info that is generated for controls for e.g. use of Qt Creator. I
heard a quickfix is on the way.
Br, Eike
--
Eike Ziller, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB
144331 B
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development