From 09bf3cf0ab7954d6a5f7e7e1917606d9e0ae53b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 24 Mar 2023 21:52:37 +0800 Subject: [PATCH] update --- example/example.pro | 12 ++---------- example/main.cpp | 1 - 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/example/example.pro b/example/example.pro index 7152ac0..451817a 100644 --- a/example/example.pro +++ b/example/example.pro @@ -30,18 +30,10 @@ win32 { contains(QT_ARCH, i386) { COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/*.dll) $$DESTDIR - contains(QMAKE_CC, cl) { - QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\) - } else { - QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL - } + QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\) } else { COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x64/*.dll) $$DESTDIR - contains(QMAKE_CC, cl) { - QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\) - } else { - QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL - } + QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\) } } diff --git a/example/main.cpp b/example/main.cpp index a79d396..5fd27ef 100644 --- a/example/main.cpp +++ b/example/main.cpp @@ -18,7 +18,6 @@ int main(int argc, char *argv[]) QCoreApplication::setOrganizationName("ZhuZiChu"); QCoreApplication::setOrganizationDomain("https://zhuzichu520.github.io"); QCoreApplication::setApplicationName("FluentUI"); - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software); QQuickStyle::setStyle("Basic"); QGuiApplication app(argc, argv);