This commit is contained in:
zhuzihcu
2023-06-12 10:53:35 +08:00
parent f2ea9a19a1
commit 2fbc5696f7
2 changed files with 11 additions and 9 deletions

View File

@ -13,6 +13,7 @@ FRAMELESSHELPER_USE_NAMESPACE
int main(int argc, char *argv[])
{
//将样式设置为Basic不然会导致组件显示异常
// qputenv("QT_FONT_DPI","1");
qputenv("QT_QUICK_CONTROLS_STYLE","Basic");
FramelessHelper::Quick::initialize();
QGuiApplication::setOrganizationName("ZhuZiChu");