diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-09-13 15:09:00 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-09-14 09:46:34 +0000 |
commit | ebbaa352fcfac361479c56192ac6cba4dcc87efb (patch) | |
tree | 7390aa5f34d376c7444960b4eff170a28e2690ad /optional/texteditor/texteditor.pro | |
parent | d3714d329c292f4930fea8c0d9aa33ed59b12f38 (diff) |
Add optional bindings to regular build
Change-Id: I47e02299707e59dc5417e965a2bbcf2a6b5d0428
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'optional/texteditor/texteditor.pro')
-rw-r--r-- | optional/texteditor/texteditor.pro | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/optional/texteditor/texteditor.pro b/optional/texteditor/texteditor.pro new file mode 100644 index 0000000..e1a5e2e --- /dev/null +++ b/optional/texteditor/texteditor.pro @@ -0,0 +1,37 @@ + +# Declare dependencies and name + +# This has to be PythonBinding{PluginName} +QTC_PLUGIN_NAME = PythonBindingTextEditor +QTC_LIB_DEPENDS += \ + extensionsystem \ + utils + +QTC_PLUGIN_DEPENDS += \ + coreplugin \ + texteditor \ + pythonextensions + +QTC_PLUGIN_RECOMMENDS += \ + # optional plugin dependencies. nothing here at this time + +include(../binding/binding.pri) + +INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins/texteditor + +# Shiboken binding generation setup + +WRAPPED_HEADER = $$PWD/wrappedclasses.h +WRAPPER_DIR = $$OUT_PWD/QtCreatorBindingTextEditor +TYPESYSTEM_FILE = typesystem_texteditor.xml +TYPESYSTEM_NAME = qtcreatorbindingtexteditor +SHIBOKEN_QT = core gui widgets + +## These headers are needed so the generated wrappers are added to the +## build. Right now they are empty files, however there might be a more elegant +## option. +WRAPPED_CLASSES = \ + bindingheaders/texteditor.h \ +# Sentinel line + +include(../../shiboken.pri) |