plugins.pro 2 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
SUBDIRS   = \
    coreplugin \
    texteditor \
    cppeditor \
    bineditor \
    diffeditor \
    imageviewer \
    bookmarks \
    projectexplorer \
    vcsbase \
    perforce \
    subversion \
    git \
    cvs \
    cpptools \
    qtsupport \
21
    qmakeprojectmanager \
22 23 24 25 26 27
    debugger \
    help \
    cpaster \
    cmakeprojectmanager \
    autotoolsprojectmanager \
    fakevim \
nsf's avatar
nsf committed
28
    emacskeys \
29 30 31 32
    designer \
    resourceeditor \
    genericprojectmanager \
    qmljseditor \
33
    qmlprojectmanager \
34 35 36 37 38 39 40 41 42 43 44 45 46
    glsleditor \
    pythoneditor \
    mercurial \
    bazaar \
    classview \
    tasklist \
    analyzerbase \
    qmljstools \
    macros \
    remotelinux \
    android \
    valgrind \
    todo \
47
    qnx \
Tim Sander's avatar
Tim Sander committed
48
    clearcase \
49
    baremetal \
Lorenz Haas's avatar
Lorenz Haas committed
50
    ios \
51 52
    beautifier \
    qmakeandroidsupport
53

54 55
minQtVersion(5, 0, 0) {
    SUBDIRS += winrt
56 57 58 59 60

    isEmpty(QBS_INSTALL_DIR): QBS_INSTALL_DIR = $$(QBS_INSTALL_DIR)
    exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \
        SUBDIRS += \
            qbsprojectmanager
61 62
}

63 64 65 66 67 68
# 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
}

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

78 79 80 81 82 83 84
minQtVersion(5, 3, 1) {
    SUBDIRS += qmldesigner
} else {
     warning("QmlDesigner plugin has been disabled.")
     warning("This plugin requires Qt 5.3.1 or newer.")
}

85
minQtVersion(5, 2, 0) {
Lasse Holmstedt's avatar
Lasse Holmstedt committed
86
    SUBDIRS += \
87 88
        qmlprofiler \
        welcome
Kai Koehne's avatar
Kai Koehne committed
89
} else {
90 91
     warning("QmlProfiler plugin has been disabled.")
     warning("Welcome plugin has been disabled.")
Orgad Shaneh's avatar
Orgad Shaneh committed
92
     warning("These plugins need at least Qt 5.2.")
Bea Lam's avatar
Bea Lam committed
93 94
}

95 96 97 98 99 100
for(p, SUBDIRS) {
    QTC_PLUGIN_DEPENDS =
    include($$p/$${p}_dependencies.pri)
    pv = $${p}.depends
    $$pv = $$QTC_PLUGIN_DEPENDS
}
Tobias Hunger's avatar
Tobias Hunger committed
101

102 103 104
linux-* {
     SUBDIRS += debugger/ptracepreload.pro
}