pythoneditor.qbs 1.48 KB
Newer Older
1
import qbs 1.0
Sergey Shambir's avatar
Sergey Shambir committed
2

3
import QtcPlugin
Sergey Shambir's avatar
Sergey Shambir committed
4 5 6 7

QtcPlugin {
    name: "PythonEditor"

8
    Depends { name: "Qt.widgets" }
9 10
    Depends { name: "Utils" }

Sergey Shambir's avatar
Sergey Shambir committed
11 12
    Depends { name: "Core" }
    Depends { name: "TextEditor" }
Joerg Bornemann's avatar
Joerg Bornemann committed
13 14
    Depends { name: "QtSupport" }
    Depends { name: "ProjectExplorer" }
Sergey Shambir's avatar
Sergey Shambir committed
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    Group {
        name: "General"
        files: [
            "pythoneditor.cpp", "pythoneditor.h",
            "pythoneditorconstants.h",
            "pythoneditorfactory.cpp", "pythoneditorfactory.h",
            "pythoneditorplugin.cpp", "pythoneditorplugin.h",
            "pythoneditorplugin.qrc",
            "pythoneditorwidget.cpp", "pythoneditorwidget.h",
        ]
    }

    Group {
        name: "Tools"
        prefix: "tools/"
        files: [
            "lexical/pythonformattoken.h",
            "lexical/pythonscanner.h", "lexical/pythonscanner.cpp",
            "lexical/sourcecodestream.h",
            "pythonhighlighter.h", "pythonhighlighter.cpp",
36
            "pythonhighlighterfactory.h", "pythonhighlighterfactory.cpp",
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
            "pythonindenter.cpp", "pythonindenter.h"
        ]
    }

    Group {
        name: "Wizard"
        prefix: "wizard/"
        files: [
            "pythonclassnamepage.cpp", "pythonclassnamepage.h",
            "pythonclasswizard.h", "pythonclasswizard.cpp",
            "pythonclasswizarddialog.h", "pythonclasswizarddialog.cpp",
            "pythonfilewizard.h", "pythonfilewizard.cpp",
            "pythonsourcegenerator.h", "pythonsourcegenerator.cpp"
        ]
    }
Sergey Shambir's avatar
Sergey Shambir committed
52 53
}