[Qt-creator] 4.6.1 still not handling QML enums

Eike Ziller Eike.Ziller at qt.io
Mon May 7 08:54:52 CEST 2018


Support for user-defined enums in QML went into 4.7.

> On 4. May 2018, at 20:58, Jason H <jhihn at gmx.com> wrote:
> 
> I was really looking forward to this release. But was kind of surprised he QML parsing was not included.
> 
> 
> Rectangle {
> 	enum CollectionState {
> 		NotAcquired,
> 		Acquiring,
> 		HaveImages
> 	}
> }
> 
> gives:
> 
> "Unexpected token "reserved word""
> "Expected token ":"
> 
> But is fine when compiled.<Screen Shot 2018-05-04 at 2.56.04 PM.png>_______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list