mirror of
https://github.com/simple64/simple64.git
synced 2026-11-16 08:03:15 +01:00
update input qt
This commit is contained in:
1 parent
ee252cb1d5
commit
1b29f7df9e
2 files changed
+5
-3
No files matched your search
@@ -37,8 +37,10 @@ void ControllerTab::fileDownloaded(QNetworkReply* pReply) {
|
||||
QThread::sleep(3);
|
||||
|
||||
QProcess process;
|
||||
QString command = "7za x \"" + dir.filePath("vosk-model.zip") + "\" -o\"" + ConfigGetUserDataPath() + "\"";
|
||||
process.start(command);
|
||||
process.setProgram("7za");
|
||||
QStringList arguments = { "x", dir.filePath("vosk-model.zip"), "-o", ConfigGetUserDataPath() };
|
||||
process.setArguments(arguments);
|
||||
process.start();
|
||||
bool success = process.waitForFinished(-1);
|
||||
|
||||
progress->setValue(100);
|
||||
|
||||
@@ -9,7 +9,7 @@ QT += widgets network
|
||||
TARGET = mupen64plus-input-qt
|
||||
TEMPLATE = lib
|
||||
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050C00
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050F00
|
||||
|
||||
SOURCES += \
|
||||
configdialog.cpp \
|
||||
|
||||
Reference in new issue
Block a user