qtwebdriver
qtwebdriver copied to clipboard
Custom native application registration example
Add example how to add qt's calculator app. This:
- includes the calculator app in the build system
- Register Calculator with QtWebdriver
Following this, Selenium can request QtWebDriver to open the Qt application like this:
driver.get("qtwidget://MyWidgetClass");
Hi, Can you also provide examples for QApplication using QQmlApplicationEngine + QML? Thank you
@pohnee Indeed, there is no support for QQmlApplicationEngine a this time. Maybe for a future release
Noted. Thank you
Preliminary work to support QQmlApplicationEngine in this PR: https://github.com/cisco-open-source/qtwebdriver/pull/28, branch https://github.com/cisco-open-source/qtwebdriver/tree/WIP_QQuickWindow More testing needed, but first test seem ok. @pohnee, If you want you can try this branch. Example of WebDriver with QQmlApplicationEngine here: https://github.com/cisco-open-source/qtdeclarative/pull/1