Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
New C++-JS-Types with constructor for QML's QtScript
manuelsch last edited by
and then you can call
@ var myObj = new CPPConstructor() @
Is it possible to do the same for QML?
mbrasser last edited by
Unfortunately this isn't currently possible. http://bugreports.qt.nokia.com/browse/QTBUG-11942 is probably the most relevant suggestion to track in regards to this.