Open Ivshti opened 8 years ago
I did hack it by replacing
Q_PROPERTY( State state READ get_state NOTIFY stateChanged )
with
Q_PROPERTY( unsigned state READ get_state NOTIFY stateChanged )
I assume casting the enum to unsigned is a hack here, and QWebChannel should work just fine with the enum in the first place. I'll let you @RSATom figure out the clean solution
Thanks, I'll look.
@RSATom any updates on this? It kind of blocks some stuff
sorry, not yet
Here's some sample code:
main.qml
index.html
Is the issue in the way Qt translates enums? It should be OK in theory.
Qt WebEngine 1.3 Qt WebChannel 1.0 QmlVlc 0.1