aboutsummaryrefslogtreecommitdiffstats
path: root/optional/texteditor
diff options
context:
space:
mode:
Diffstat (limited to 'optional/texteditor')
-rw-r--r--optional/texteditor/texteditor.pro (renamed from optional/texteditor/binding_custom.pri)28
1 files changed, 7 insertions, 21 deletions
diff --git a/optional/texteditor/binding_custom.pri b/optional/texteditor/texteditor.pro
index 361da10..e1a5e2e 100644
--- a/optional/texteditor/binding_custom.pri
+++ b/optional/texteditor/texteditor.pro
@@ -1,11 +1,3 @@
-# Additional sources
-
-SOURCES += \
- # optional
-
-HEADERS += \
- # optional
-
# Declare dependencies and name
@@ -23,25 +15,17 @@ QTC_PLUGIN_DEPENDS += \
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 = wrappedclasses.h
+WRAPPED_HEADER = $$PWD/wrappedclasses.h
WRAPPER_DIR = $$OUT_PWD/QtCreatorBindingTextEditor
TYPESYSTEM_FILE = typesystem_texteditor.xml
-
TYPESYSTEM_NAME = qtcreatorbindingtexteditor
-
-## Include additional QtCreator paths
-QT_INCLUDEPATHS += \
- -I"$$IDE_SOURCE_TREE/src/plugins/texteditor"
-
-INCLUDEPATH += \
- $$IDE_SOURCE_TREE/src/plugins/coreplugin \
- $$IDE_SOURCE_TREE/src/plugins/coreplugin/editormanager \
- $$IDE_SOURCE_TREE/src/plugins/coreplugin/find \
- $$IDE_SOURCE_TREE/src/plugins/texteditor \
- $$IDE_SOURCE_TREE/src/libs/utils
+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
@@ -49,3 +33,5 @@ INCLUDEPATH += \
WRAPPED_CLASSES = \
bindingheaders/texteditor.h \
# Sentinel line
+
+include(../../shiboken.pri)