Embedding a QML component into native Android UI



  • I have an application which is essentially a thin QML wrapper for C++ core. It works. Now I want to add some auxiliary native UI for Android. I'm going to add a Java file, which I expect to work (and I will probably inflate the UI from a layout XML file). The question is: can I declare a QML view there? I need not interact with the view, I just need it to render as defined by a QML component and be embedded in the native Java UI.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.