From bf9c89dfb0989bd3b970a3b595b6e812711135df Mon Sep 17 00:00:00 2001 From: fong Date: Sat, 24 Feb 2024 18:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E9=80=82=E5=BA=94=E5=B1=8F=E5=B9=95?= =?UTF-8?q?=E7=BC=A9=E6=94=BE=20Signed-off-by:=20fong=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ip_sacaner/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ip_sacaner/main.cpp b/ip_sacaner/main.cpp index b4e13f9..6ad36c8 100644 --- a/ip_sacaner/main.cpp +++ b/ip_sacaner/main.cpp @@ -241,6 +241,8 @@ int main(int argc, char *argv[]) { + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + //qputenv("QT_SCALE_FACTOR", "2"); QApplication a(argc, argv); Widget w; w.show();