From 2e16e8876b3dc776e3b7c525aa9e2536a8e09305 Mon Sep 17 00:00:00 2001 From: feiyangqingyun Date: Thu, 21 Jul 2022 19:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=86=9C=E5=8E=86=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E6=94=AF=E6=8C=81Qt6.2+msvc2019=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/devicesizetable/devicesizetable.cpp | 2 +- widget/lunarcalendarwidget/lunarcalendarwidget.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/control/devicesizetable/devicesizetable.cpp b/control/devicesizetable/devicesizetable.cpp index 8df3868..23dac66 100644 --- a/control/devicesizetable/devicesizetable.cpp +++ b/control/devicesizetable/devicesizetable.cpp @@ -120,7 +120,7 @@ void DeviceSizeTable::load() } #else - process->start("df -h"); + process->start("df", QStringList() << "-h"); #endif } diff --git a/widget/lunarcalendarwidget/lunarcalendarwidget.pro b/widget/lunarcalendarwidget/lunarcalendarwidget.pro index 201f0dc..c952230 100644 --- a/widget/lunarcalendarwidget/lunarcalendarwidget.pro +++ b/widget/lunarcalendarwidget/lunarcalendarwidget.pro @@ -5,7 +5,7 @@ greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat TARGET = lunarcalendarwidget TEMPLATE = app DESTDIR = $$PWD/../bin -CONFIG += qt warn_off +CONFIG += warn_off RESOURCES += main.qrc SOURCES += main.cpp