diff options
Diffstat (limited to 'tests/auto/widgets/widgets/qopenglwidget')
3 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/widgets/widgets/qopenglwidget/CMakeLists.txt b/tests/auto/widgets/widgets/qopenglwidget/CMakeLists.txt index d1af2e811c..062a468c6c 100644 --- a/tests/auto/widgets/widgets/qopenglwidget/CMakeLists.txt +++ b/tests/auto/widgets/widgets/qopenglwidget/CMakeLists.txt @@ -5,6 +5,7 @@ ##################################################################### qt_add_test(tst_qopenglwidget + LOWDPI SOURCES tst_qopenglwidget.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/widgets/widgets/qopenglwidget/qopenglwidget.pro b/tests/auto/widgets/widgets/qopenglwidget/qopenglwidget.pro index 792bbf4529..9a6b0e2040 100644 --- a/tests/auto/widgets/widgets/qopenglwidget/qopenglwidget.pro +++ b/tests/auto/widgets/widgets/qopenglwidget/qopenglwidget.pro @@ -1,4 +1,4 @@ -CONFIG += testcase +CONFIG += testcase testcase_lowdpi TARGET = tst_qopenglwidget QT += opengl opengl-private gui-private core-private testlib widgets openglwidgets diff --git a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp index 099a099c13..0b6d161890 100644 --- a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp +++ b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp @@ -48,9 +48,6 @@ class tst_QOpenGLWidget : public QObject { Q_OBJECT -public: - static void initMain() { QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); } - private slots: void initTestCase(); void create(); |