qtwebdriver icon indicating copy to clipboard operation
qtwebdriver copied to clipboard

Is second option possible?

Open GHJJOV opened this issue 7 years ago • 1 comments

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

GHJJOV avatar May 29 '17 08:05 GHJJOV

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

hekra01 avatar May 29 '17 15:05 hekra01