Skip to content

Commit 1b3d4e2

Browse files
committed
Disable scaling test on linux
1 parent 964bcf3 commit 1b3d4e2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ int main(int argc, char *argv[])
6161
}
6262
#endif
6363

64-
#if defined (Q_OS_LINUX) && defined(DISABLE_SCALING_TEST)
65-
disableAutoScaling = true;
66-
#endif
67-
6864
if (disableAutoScaling) {
6965
qDebug() << "Disable auto-scaling";
7066
QGuiApplication::setAttribute(Qt::AA_DisableHighDpiScaling);

src/resp.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ unix:!macx { # ubuntu & debian
116116
CONFIG += static release
117117
CONFIG -= debug
118118

119+
DEFINES += DISABLE_SCALING_TEST
120+
119121
QTPLUGIN += qsvg qsvgicon
120122

121123
QMAKE_CXXFLAGS += -Wno-sign-compare

0 commit comments

Comments
 (0)