qtdeclarative/tools/qmlcachegen
Simon Hausmann 77e0dc0485 Fix support for enums and translations in list elements
QQC uses valid constructs like ListElement { dayOfWeek: Locale.Sunday },
where the enums are resolved at type compilation time. Syntactically
Locale.Sunday is a JS expression, but as scripts are not permitted for
list elements, we must retain the values in string form when generating
the binary (cache) qml representation.

This is a forward port of commit
736f4f9c847d1102f6ac77674c831f0555ff445e from the qml compiler, and also
matches QTRD-3226.

Change-Id: I3e615f224d4ab222a50f3271735cb8f7a24f5f11
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
2017-03-10 21:00:41 +00:00
..
qmlcache.prf Fix cache file generation for prefix and shadow builds 2017-03-09 08:19:32 +00:00
qmlcachegen.cpp Fix support for enums and translations in list elements 2017-03-10 21:00:41 +00:00
qmlcachegen.pro Simplify build system integration 2017-03-09 08:19:38 +00:00