diff --git a/example/example.pro b/example/example.pro index 7152ac06..451817a0 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 a79d396e..5fd27efb 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);