blob: 52f3054d5d2a07f98c04299b354140a48ab49302 (
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
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/aspects.h>
#include <QUrl>
namespace Vcpkg::Internal::Search {
struct VcpkgManifest
{
QString name;
QString version;
QString license;
QStringList dependencies;
QString shortDescription;
QStringList description;
QUrl homepage;
};
VcpkgManifest parseVcpkgManifest(const QByteArray &vcpkgManifestJsonData, bool *ok = nullptr);
VcpkgManifest showVcpkgPackageSearchDialog(const VcpkgManifest &projectManifest,
QWidget *parent = nullptr);
} // namespace Vcpkg::Internal::Search
|