add linux.
This commit is contained in:
parent
49499357b5
commit
1ce4afdc25
@ -1,6 +1,7 @@
|
||||
#ifndef __IMAGEDECODER_H__
|
||||
#define __IMAGEDECODER_H__
|
||||
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -7,7 +7,7 @@ import Analyser
|
||||
Window {
|
||||
id: window
|
||||
width: 1120
|
||||
height: 630
|
||||
height: 650
|
||||
visible: true
|
||||
title: qsTr(Qt.application.name + " " + Qt.application.version)
|
||||
|
||||
|
@ -46,8 +46,11 @@ void CdcUpdater::start(const QString &path, const QSerialPortInfo &info) {
|
||||
} else {
|
||||
open(info);
|
||||
}
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
m_path = Amass::StringUtility::UTF8ToGBK(path.toStdString());
|
||||
#else
|
||||
m_path = path.toStdString();
|
||||
#endif
|
||||
LOG(info) << "ota file: " << m_path;
|
||||
emit progressChanged(++m_progress);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user