Add a node for Qt6.

This commit is contained in:
Andrius Štikonas 2022-02-06 21:11:39 +00:00
parent fd7f9b87a9
commit 1c87b494ef
1 changed files with 1 additions and 0 deletions

View File

@ -323,6 +323,7 @@ bool ExternalCommandHelper::WriteData(const QByteArray& buffer, const QString& t
}
auto canonicalTargetPath = std::filesystem::canonical(targetPath);
// TODO: Qt6 supports std::filesystem::path
QFile device(QLatin1String(canonicalTargetPath.c_str()));
return writeData(device, buffer, targetOffset);
}