Files
qt-creator/src/plugins/plugins.pro

138 lines
3.0 KiB
Prolog
Raw Normal View History

include(../../qtcreator.pri)
2008-12-02 12:01:29 +01:00
TEMPLATE = subdirs
SUBDIRS = \
autotest \
clangformat \
clangtools \
coreplugin \
texteditor \
cppeditor \
bineditor \
boot2qt \
diffeditor \
imageviewer \
bookmarks \
projectexplorer \
vcsbase \
perforce \
subversion \
git \
cvs \
cpptools \
qtsupport \
qmakeprojectmanager \
debugger \
cpaster \
cmakeprojectmanager \
autotoolsprojectmanager \
fakevim \
emacskeys \
resourceeditor \
genericprojectmanager \
qmljseditor \
qmlprojectmanager \
glsleditor \
python \
nim \
mercurial \
bazaar \
classview \
tasklist \
qmljstools \
macros \
remotelinux \
android \
valgrind \
todo \
qnx \
clearcase \
baremetal \
ios \
beautifier \
modeleditor \
winrt \
updateinfo \
scxmleditor \
welcome \
Introduce a basic client for the language server protocol The language server protocol is used to transport language specific information needed to efficiently edit source files. For example completion, go to operations and symbol information. These information are transferred via JSON-RPC. The complete definition can be found under https://microsoft.github.io/language-server-protocol/specification. This language server protocol support consists of two major parts, the C++ representation of the language server protocol, and the client part for the communication with an external language server. The TypeScript definitions of the protocol interfaces are transferred to C++ classes. Those classes have getter and setter for every interface value. Optional values from the protocol are represented by Utils::optional<ValueType>. The JSON objects that are used to transfer the data between client and server are hidden by a specialized JsonObject class derived from QJsonObject. Additionally this JsonObject provides a validity check that is capable of creating a detailed error message for malformed, or at least unexpected JSON representation of the protocol. The client is the interface between Qt Creator and language server functionality, like completion, diagnostics, document and workspace synchronization. The base client converts the data that is sent from/to the server between the raw byte array and the corresponding C++ objects. The transportat layer is defined in a specialized base client (this initial change will only support stdio language server). The running clients are handled inside the language client manager, which is also used to connect global and exclusive Qt Creator functionality to the clients. Task-number: QTCREATORBUG-20284 Change-Id: I8e123e20c3f14ff7055c505319696d5096fe1704 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-07-13 12:33:46 +02:00
silversearcher \
languageclient \
cppcheck \
compilationdatabaseprojectmanager \
qmlpreview \
studiowelcome \
webassembly
qtHaveModule(serialport) {
SUBDIRS += serialterminal
} else {
warning("SerialTerminal plugin has been disabled since the Qt SerialPort module is not available.")
}
qtHaveModule(quick) {
SUBDIRS += qmlprofiler perfprofiler ctfvisualizer
} else {
warning("QmlProfiler, PerfProfiler and CTF Visualizer plugins have been disabled since the Qt Quick module is not available.")
}
qtHaveModule(help) {
SUBDIRS += help
} else {
warning("Help plugin has been disabled since the Qt Help module is not available.")
}
qtHaveModule(designercomponents_private) {
SUBDIRS += designer
} else {
warning("Qt Widget Designer plugin has been disabled since the Qt Designer module is not available.")
}
QTC_DO_NOT_BUILD_QMLDESIGNER = $$(QTC_DO_NOT_BUILD_QMLDESIGNER)
isEmpty(QTC_DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
exists($$[QT_INSTALL_QML]/QtQuick/Controls/qmldir) {
SUBDIRS += qmldesigner
} else {
warning("QmlDesigner plugin has been disabled since Qt Quick Controls 1 are not installed.")
}
} else {
!qtHaveModule(quick-private) {
warning("QmlDesigner plugin has been disabled since the Qt Quick module is not available.")
} else {
warning("QmlDesigner plugin has been disabled since QTC_DO_NOT_BUILD_QMLDESIGNER is set.")
}
}
isEmpty(QBS_INSTALL_DIR): QBS_INSTALL_DIR = $$(QBS_INSTALL_DIR)
exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \
SUBDIRS += \
qbsprojectmanager
SUBDIRS += \
clangcodemodel
QTC_DISABLE_CLANG_REFACTORING=$$(QTC_DISABLE_CLANG_REFACTORING)
isEmpty(QTC_DISABLE_CLANG_REFACTORING) {
SUBDIRS += clangrefactoring
SUBDIRS += clangpchmanager
}
isEmpty(IDE_PACKAGE_MODE) {
SUBDIRS += \
helloworld
}
for(p, SUBDIRS) {
QTC_PLUGIN_DEPENDS =
include($$p/$${p}_dependencies.pri)
pv = $${p}.depends
$$pv = $$QTC_PLUGIN_DEPENDS
}
linux-* {
SUBDIRS += debugger/ptracepreload.pro
}
QMAKE_EXTRA_TARGETS += deployqt # dummy