plugins.pro 1.98 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
51
    ios \
    beautifier
52

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

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

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

68
isEmpty(IDE_PACKAGE_MODE) {
69
    SUBDIRS += \
Eike Ziller's avatar
Eike Ziller committed
70
71
72
73
74
        helloworld #\
        #updateinfo
#} else:!isEmpty(UPDATEINFO_ENABLE) {
#    SUBDIRS += \
#        updateinfo
75
76
}

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

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

94
95
96
97
98
99
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
100

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