build: Update Qt version

This commit is contained in:
Lars Toenning
2025-10-12 20:34:31 +02:00
parent ff45b56a06
commit b85a82f5fb
10 changed files with 27 additions and 10 deletions

View File

@@ -69,13 +69,15 @@ namespace swift::sample
QByteArray jsonArray(doc.toJson());
streamOut << "write JSON array with size " << jsonArray.size() << Qt::endl;
QTemporaryFile tempFile;
tempFile.open();
bool res = tempFile.open();
SWIFT_VERIFY_X(res, Q_FUNC_INFO, "Failed to open file");
tempFile.write(jsonArray);
tempFile.close();
streamOut << "written to " << tempFile.fileName() << " in " << time.restart() << "ms" << Qt::endl;
// re-read
tempFile.open();
res = tempFile.open();
SWIFT_VERIFY_X(res, Q_FUNC_INFO, "Failed to open file");
jsonArray = tempFile.readAll();
doc = QJsonDocument::fromJson(jsonArray);
entriesList.clear();