summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickwebviewgraphics
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickwebviewgraphics')
-rw-r--r--tests/auto/quick/qquickwebviewgraphics/qquickwebviewgraphics_software.pro6
-rw-r--r--tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp4
2 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/quick/qquickwebviewgraphics/qquickwebviewgraphics_software.pro b/tests/auto/quick/qquickwebviewgraphics/qquickwebviewgraphics_software.pro
deleted file mode 100644
index 07ef8be5b..000000000
--- a/tests/auto/quick/qquickwebviewgraphics/qquickwebviewgraphics_software.pro
+++ /dev/null
@@ -1,6 +0,0 @@
-TARGET = qquickwebviewgraphics
-include(../tests.pri)
-TARGET = $${TARGET}_software
-OBJECTS_DIR = $${OBJECTS_DIR}_software
-
-DEFINES += TST_QQUICKWEBVIEWGRAPHICS_SOFTWARE=1 \ No newline at end of file
diff --git a/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp b/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
index 213420b13..2595514a7 100644
--- a/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
+++ b/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
@@ -109,11 +109,7 @@ tst_QQuickWebViewGraphics::~tst_QQuickWebViewGraphics()
// It is only called once.
void tst_QQuickWebViewGraphics::initTestCase()
{
-#if defined(TST_QQUICKWEBVIEWGRAPHICS_SOFTWARE)
- qApp->setProperty("QQuickWebEngineView_DisableHardwareAcceleration", QVariant(true));
-#else
QWebEngine::initialize();
-#endif
}
void tst_QQuickWebViewGraphics::init()