qmlcore
qmlcore copied to clipboard
QML to Javascript/HTML5 translator. Ready for Mobile, Desktop and SmartTV platforms.
parsing /home/lifeart/repositories/qml2js/app.qml ... qml2js.app ERROR: not well-formed (invalid token): line 1, column 0 ERROR: command ./qmlcore/qml-compiler -o build.web ./qmlcore/core ./qmlcore/platform/web ./qmlcore/platform/html5 . -a app failed with code 1
add the most aggressive options: "-m", "--mangle-props=2", protect with "-r navigator", test with "-b"
Presumably by adding some special property type, e.g. ``` property generator delegate; ``` Remove all name-hacks
for `text input` -> `clickme` -> gives an XSS issue, for `text` node in template -> `clickme` -> gives an XSS issue, for `number input` -> `clickme` -> gives `eee12e`...
http://doc.qt.io/qt-5/qtquick-animation-example.html#states http://doc.qt.io/qt-5/qtquick-statesanimations-states.html
probably it make sense to add more complex schema rather than "qmlsource": "template". e.g. "qmlsource": { "template": "dist/1/2/3/index", "destination": "../deployfolder/1/2/3/index"}
Add to documentation to particular component information about it's inheritance tree (e.g. WebItem->Rectangle->Item), so inherited properties and methods can be easily accessible. Having kind of inheritance structure would be nice:...
Add more information about alias-like properties (reference to actual property, property type)