mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Linux embedded: misc improvements
- Allow static build - Use .svg icons - Linux Embedded lacks normal "open file dialog". So simply scan files in root folder of USB stick and return list. - Change QProcess::execute(command) calls to QProcess::execute(command, args) calls to silence Qt 5.15.0 depreciation warning.
This commit is contained in:
parent
f3bc47a309
commit
123542a66b
26 changed files with 216 additions and 39 deletions
|
@ -48,7 +48,8 @@ namespace Drivelist
|
|||
std::vector<DeviceDescriptor> deviceList;
|
||||
|
||||
QProcess p;
|
||||
p.start("lsblk --bytes --json --paths --output-all");
|
||||
QStringList args = { "--bytes", "--json", "--paths", "--output-all" };
|
||||
p.start("lsblk", args);
|
||||
p.waitForFinished(2000);
|
||||
QByteArray output = p.readAll();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue