Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom native application registration example #27

Open
wants to merge 1 commit into
base: WD_1.X_dev
Choose a base branch
from

Conversation

hekra01
Copy link
Contributor

@hekra01 hekra01 commented Jan 14, 2017

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");

@pohnee
Copy link

pohnee commented Jan 18, 2017

Hi,
Can you also provide examples for QApplication using QQmlApplicationEngine + QML?
Thank you

@hekra01 hekra01 changed the title Custom application registration example Custom QWidget application registration example Jan 18, 2017
@hekra01 hekra01 changed the title Custom QWidget application registration example Custom native application registration example Jan 18, 2017
@hekra01
Copy link
Contributor Author

hekra01 commented Jan 19, 2017

@pohnee
Indeed, there is no support for QQmlApplicationEngine a this time.
Maybe for a future release

@pohnee
Copy link

pohnee commented Jan 20, 2017

Noted. Thank you

@hekra01
Copy link
Contributor Author

hekra01 commented Jan 20, 2017

Preliminary work to support QQmlApplicationEngine in this PR: #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: cisco-open-source/qtdeclarative#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants