qtwebdriver
qtwebdriver copied to clipboard
Is second option possible?
Hello,
I want to test a big Qt application (QT version 5.7.1) that uses the following libraries:
- QCoreApplication
- QGuiApplication
- QNetworkInterface
- QPluginLoader
- QQmlApplicationEngine
- QQmlExtensionPlugin
- QScreen
- QSurfaceFormat
- QSysInfo
- QtQml
- QDebug
Is it possible to use the second option (WebDriver creates the application) to run the application??
Regards
Sure, it is possible. But you'll have to tweak wd_test.gyp so that:
- either the headers/libs of you app can be linked with WD: like this: https://github.com/cisco-open-source/qtwebdriver/pull/45 (easier)
- or your app sources sources are build by WD build system: https://github.com/cisco-open-source/qtwebdriver/pull/27/files