Merge pull request #131 from parker-int64/test_branch

解决GCC类编译器链接的问题,修正framelesshelper中的flag
main
zhuzichu 2023-05-26 11:10:27 +08:00 committed by GitHub
commit 5c0befb6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,9 @@ int main(int argc, char *argv[])
QGuiApplication::setOrganizationDomain("https://zhuzichu520.github.io");
QGuiApplication::setApplicationName("FluentUI");
QGuiApplication app(argc, argv);
#ifdef Q_OS_WIN // 此设置仅在Windows下生效
FramelessConfig::instance()->set(Global::Option::ForceHideWindowFrameBorder);
#endif
FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
FramelessConfig::instance()->set(Global::Option::CenterWindowBeforeShow);
FramelessConfig::instance()->set(Global::Option::ForceNonNativeBackgroundBlur);

View File

@ -72,4 +72,9 @@ if(WIN32)
endif()
#debugd
set_target_properties(fluentuiplugin PROPERTIES DEBUG_POSTFIX "d")
# MinGWGCC/Clang, `d`
if(MSVC)
set_target_properties(fluentuiplugin PROPERTIES DEBUG_POSTFIX "d")
endif(MSVC)