2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2011-02-18 11:48:13 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2010-02-26 14:46:04 +01:00
|
|
|
|
2015-02-02 00:37:38 +02:00
|
|
|
#include <utils/fileutils.h>
|
|
|
|
|
|
2013-08-06 13:40:11 +02:00
|
|
|
#include <QCoreApplication>
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
2010-02-26 14:46:04 +01:00
|
|
|
namespace QmlProjectManager {
|
|
|
|
|
|
2013-07-11 17:37:02 +02:00
|
|
|
class QmlProjectItem;
|
|
|
|
|
|
|
|
|
|
class QmlProjectFileFormat
|
|
|
|
|
{
|
2010-02-26 14:46:04 +01:00
|
|
|
public:
|
2022-04-13 11:47:32 +02:00
|
|
|
static std::unique_ptr<QmlProjectItem> parseProjectFile(const Utils::FilePath &fileName,
|
|
|
|
|
QString *errorMessage = nullptr);
|
2010-02-26 14:46:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace QmlProjectManager
|