Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5 Android development, QML properties to android element properties?



  • Hi folks!

    Been developing a Android app in Qt using QML. But when I use the uiautomatorviewer, which is bundled with the Android SDK, I cannot see any of the controls in the XML tree nor the right properties for the ones that show up. But if I use it on a standard Android app, for example the calculator, I see all the buttons etc. together with all of their properties such as ID, name and/or text.

    Any input of which QML components corresponds to android native components? I tried to switch out a QML MouseArea to a QML Button and that is recognized in the uiautomatorviewer, but without any properties.

    This roots in that I want to be able to use Appium for Robot Framework to automate some stuff in the UI when I run tests.

    Thanks for the help guys.


Log in to reply