commit
5c0befb6c2
|
@ -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);
|
||||
|
|
|
@ -72,4 +72,9 @@ if(WIN32)
|
|||
endif()
|
||||
|
||||
#如果是debug,则生成的库文件名后面拼接d
|
||||
set_target_properties(fluentuiplugin PROPERTIES DEBUG_POSTFIX "d")
|
||||
# 在MinGW和GCC/Clang中, 默认不会链接带`d`后缀的动态库
|
||||
if(MSVC)
|
||||
set_target_properties(fluentuiplugin PROPERTIES DEBUG_POSTFIX "d")
|
||||
endif(MSVC)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue