plugins.pro 1.87 KB
Newer Older
1
include(../../qtcreator.pri)
con's avatar
con committed
2 3 4

TEMPLATE  = subdirs

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
SUBDIRS   = \
    coreplugin \
    find \
    texteditor \
    cppeditor \
    bineditor \
    diffeditor \
    imageviewer \
    bookmarks \
    projectexplorer \
    vcsbase \
    perforce \
    subversion \
    git \
    cvs \
    cpptools \
    qtsupport \
22
    qmakeprojectmanager \
23 24 25 26 27 28 29 30 31 32 33
    locator \
    debugger \
    help \
    cpaster \
    cmakeprojectmanager \
    autotoolsprojectmanager \
    fakevim \
    designer \
    resourceeditor \
    genericprojectmanager \
    qmljseditor \
34
    qmlprojectmanager \
35 36 37 38 39 40 41 42 43 44 45 46 47
    glsleditor \
    pythoneditor \
    mercurial \
    bazaar \
    classview \
    tasklist \
    analyzerbase \
    qmljstools \
    macros \
    remotelinux \
    android \
    valgrind \
    todo \
48
    qnx \
Tim Sander's avatar
Tim Sander committed
49
    clearcase \
50
    baremetal \
51 52
    ios \
    beautifier
53

54 55 56 57
minQtVersion(5, 0, 0) {
    SUBDIRS += winrt
}

58 59 60 61 62 63
# prefer qmake variable set on command line over env var
isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
!isEmpty(LLVM_INSTALL_DIR) {
    SUBDIRS += clangcodemodel
}

64 65
isEmpty(QBS_INSTALL_DIR): QBS_INSTALL_DIR = $$(QBS_INSTALL_DIR)
exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \
66 67
    SUBDIRS += \
        qbsprojectmanager
68

69
isEmpty(IDE_PACKAGE_MODE) {
70 71 72
    SUBDIRS += \
        helloworld \
        updateinfo
73
} else:!isEmpty(UPDATEINFO_ENABLE) {
74 75
    SUBDIRS += \
        updateinfo
76 77
}

78
minQtVersion(5, 2, 0) {
Lasse Holmstedt's avatar
Lasse Holmstedt committed
79
    SUBDIRS += \
80 81 82
        qmldesigner \
        qmlprofiler \
        welcome
83
} else {
84 85 86
     warning("QmlDesigner plugin has been disabled.")
     warning("QmlProfiler plugin has been disabled.")
     warning("Welcome plugin has been disabled.")
Orgad Shaneh's avatar
Orgad Shaneh committed
87
     warning("These plugins need at least Qt 5.2.")
Bea Lam's avatar
Bea Lam committed
88 89
}

90 91 92 93 94 95
for(p, SUBDIRS) {
    QTC_PLUGIN_DEPENDS =
    include($$p/$${p}_dependencies.pri)
    pv = $${p}.depends
    $$pv = $$QTC_PLUGIN_DEPENDS
}
96

97 98 99
linux-* {
     SUBDIRS += debugger/ptracepreload.pro
}