summaryrefslogtreecommitdiff
path: root/src/plugins/mcusupport/test/mingw_desktop_json.h
blob: 51f0992f803a195b8cbb4051f74419e9b5ad57c4 (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
32
33
34
35
// 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

constexpr auto mingw_desktop_json = R"(
{
    "qulVersion": "2.3.0",
    "compatVersion": "1",
    "platform": {
        "id": "Qt",
        "platformName": "Desktop",
        "vendor": "Qt",
        "colorDepths": [
            32
        ]
    },
    "toolchain": {
        "id": "mingw",
        "versions": [
            "11.2.0"
        ],
        "compiler": {
            "label": "MinGW Toolchain",
            "defaultValue": "%{QT_TOOLS_DIR}/mingw1120_64",
            "detectionPath": "bin/g++.exe",
            "versionDetection": {
                "filePattern": "bin//g++.exe",
                "executableArgs": "--version",
                "regex": "\\b(\\d+\\.\\d+\\.\\d+)\\b"
            }
        }
    }
}
)";