blob: 843912eb7c8c9f055144ce9da6784c01499d63ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "qmlprojectmanager_global.h"
#include <projectexplorer/projectmanager.h>
#include <projectexplorer/session.h>
#include <utils/fileutils.h>
namespace QmlProjectManager {
namespace ProjectFileContentTools {
struct QMLPROJECTMANAGER_EXPORT Resolution {
int width;
int height;
};
const Utils::FilePaths QMLPROJECTMANAGER_EXPORT rootCmakeFiles(ProjectExplorer::Project *project = nullptr);
const QString QMLPROJECTMANAGER_EXPORT readFileContents(const Utils::FilePath &filePath);
const QString QMLPROJECTMANAGER_EXPORT qdsVersion(const Utils::FilePath &projectFilePath);
const QString QMLPROJECTMANAGER_EXPORT qtVersion(const Utils::FilePath &projectFilePath);
const QString QMLPROJECTMANAGER_EXPORT getMainQmlFile(const Utils::FilePath &projectFilePath);
const QString QMLPROJECTMANAGER_EXPORT appQmlFile(const Utils::FilePath &projectFilePath);
const Resolution QMLPROJECTMANAGER_EXPORT resolutionFromConstants(const Utils::FilePath &projectFilePath);
} //ProjectFileContentTools
} //QmlProjectManager
|