cpaster.qbs 1.62 KB
Newer Older
Joerg Bornemann's avatar
Joerg Bornemann committed
1 2 3 4 5 6 7
import qbs.base 1.0

import "../QtcPlugin.qbs" as QtcPlugin

QtcPlugin {
    name: "CodePaster"

8
    Depends { name: "qt"; submodules: ['widgets'] }
Joerg Bornemann's avatar
Joerg Bornemann committed
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
    Depends { name: "Core" }
    Depends { name: "TextEditor" }

    Depends { name: "cpp" }
    cpp.includePaths: [
        ".",
        "../../shared/cpaster",
        "..",
        "../../libs",
        buildDirectory
    ]

    files: [
        "codepasterprotocol.cpp",
        "codepasterprotocol.h",
        "codepastersettings.cpp",
        "codepastersettings.h",
        "columnindicatortextedit.cpp",
        "columnindicatortextedit.h",
        "cpasterconstants.h",
        "cpasterplugin.h",
        "fileshareprotocol.cpp",
        "fileshareprotocol.h",
        "fileshareprotocolsettingspage.cpp",
        "fileshareprotocolsettingspage.h",
        "fileshareprotocolsettingswidget.ui",
        "kdepasteprotocol.cpp",
        "kdepasteprotocol.h",
        "pastebindotcaprotocol.cpp",
        "pastebindotcaprotocol.h",
        "pastebindotcomprotocol.cpp",
        "pastebindotcomprotocol.h",
        "pastebindotcomsettings.ui",
        "pasteselect.ui",
        "pasteselectdialog.cpp",
        "pasteselectdialog.h",
        "pasteview.cpp",
        "pasteview.h",
        "pasteview.ui",
        "protocol.cpp",
        "protocol.h",
        "settings.cpp",
        "settings.h",
        "settingspage.cpp",
        "settingspage.h",
        "settingspage.ui",
        "cpasterplugin.cpp"
    ]

    Group {
        prefix: "../../shared/cpaster/"
        files: [
            "cgi.cpp",
            "cgi.h",
            "splitter.cpp",
            "splitter.h"
        ]
    }
}