While developing an application with QML and C++ please refrain to emit signals in QML that should be handled by C++ code. Just the opposite, keep QML as the UI layer and expose your C++ object to QML (as a context property or with
qmlRegisterXXX) and then call a slot or a Q_INVOKABLE method of this
object from QML.
Showing posts with label UI. Show all posts
Showing posts with label UI. Show all posts
Sunday, June 3, 2018
Tuesday, March 22, 2016
Qt on Android: running C++ code on Android UI thread
From BogDan Vatra, the man behind Qt creating Android apps, I found this interesting post about easily running C++ code on Android UI thread.
Subscribe to:
Posts (Atom)
