aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/python.qbs
blob: 8ab7b136cc5d10f5d6c0a2f367be19a56d70eb28 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import qbs 1.0

QtcPlugin {
    name: "Python"

    Depends { name: "Qt.widgets" }

    Depends { name: "QmlJS" }
    Depends { name: "Utils" }

    Depends { name: "Core" }
    Depends { name: "LanguageClient" }
    Depends { name: "LanguageServerProtocol" }
    Depends { name: "ProjectExplorer" }
    Depends { name: "QtSupport" }
    Depends { name: "TextEditor" }

    Group {
        name: "General"
        files: [
            "../../libs/3rdparty/toml11/toml.hpp",
            "pipsupport.cpp",
            "pipsupport.h",
            "pyprojecttoml.cpp",
            "pyprojecttoml.h",
            "pyside.cpp",
            "pyside.h",
            "pythonbuildconfiguration.cpp",
            "pythonbuildconfiguration.h",
            "pysideuicextracompiler.cpp",
            "pysideuicextracompiler.h",
            "pythonbuildsystem.cpp",
            "pythonbuildsystem.h",
            "pythonconstants.h",
            "pythoneditor.cpp",
            "pythoneditor.h",
            "pythonformattoken.h",
            "pythonhighlighter.cpp",
            "pythonhighlighter.h",
            "pythonindenter.cpp",
            "pythonindenter.h",
            "pythonkitaspect.cpp",
            "pythonkitaspect.h",
            "pythonlanguageclient.cpp",
            "pythonlanguageclient.h",
            "pythonplugin.cpp",
            "pythonproject.cpp",
            "pythonproject.h",
            "pythonrunconfiguration.cpp",
            "pythonrunconfiguration.h",
            "pythonscanner.cpp",
            "pythonscanner.h",
            "pythonsettings.cpp",
            "pythonsettings.h",
            "pythontr.h",
            "pythonutils.cpp",
            "pythonutils.h",
            "pythonwizardpage.cpp",
            "pythonwizardpage.h",
        ]
    }

    Group {
        name: "images"
        prefix: "images/"
        fileTags: "qt.core.resource_data"
        files: [
            "qtforpython_neon.png",
            "settingscategory_python.png",
            "settingscategory_python@2x.png",
        ]
    }

    QtcTestFiles {
        name: "tests"
        prefix: "tests/"
        files: [
            "pyprojecttoml_test.cpp",
            "pyprojecttoml_test.h",
        ]
    }
    QtcTestResources {
        Qt.core.resourceSourceBase: product.sourceDirectory + "/tests/testfiles"
        Qt.core.resourcePrefix: "/unittests/Python"
        files: "tests/testfiles/*"
    }
}