Source code

Revision control

Copy as Markdown

// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef JSONTOOLS_H
#define JSONTOOLS_H
#include <QFileInfo>
#include <QSet>
#include "common.h"
#include <optional>
namespace JsonTools {
bool savePreloadFile(QSet<PreloadEntry> preload, QString destFile);
std::optional<QSet<PreloadEntry>> getPreloadsFromQmlImportScannerOutput(QString output);
}; // namespace JsonTools
#endif