c++ - QtQml conversion for Non-QObject types -


since qtscript deprecated in qt5.5, have migrate qtqml js engine. can't find articles, how migrate painless.

in old code value-based types (not derived qobject) possibility create wrapper, deriving qscriptable. in qtqml there no qscriptable. know, have similar conversion qml basic types,

point     <-> qpoint rectangle <-> qrect 

i think, should possible register value-type conversion functions wrapper , vice-verse.

do know how achieve it?


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -