aboutsummaryrefslogtreecommitdiffstats
path: root/optional/projectexplorer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-09-13 15:09:00 +0200
committerEike Ziller <eike.ziller@qt.io>2018-09-14 09:46:34 +0000
commitebbaa352fcfac361479c56192ac6cba4dcc87efb (patch)
tree7390aa5f34d376c7444960b4eff170a28e2690ad /optional/projectexplorer
parentd3714d329c292f4930fea8c0d9aa33ed59b12f38 (diff)
Add optional bindings to regular build
Change-Id: I47e02299707e59dc5417e965a2bbcf2a6b5d0428 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'optional/projectexplorer')
-rw-r--r--optional/projectexplorer/projectexplorer.pro (renamed from optional/projectexplorer/binding_custom.pri)25
1 files changed, 7 insertions, 18 deletions
diff --git a/optional/projectexplorer/binding_custom.pri b/optional/projectexplorer/projectexplorer.pro
index b9e3faf..a60ac99 100644
--- a/optional/projectexplorer/binding_custom.pri
+++ b/optional/projectexplorer/projectexplorer.pro
@@ -1,11 +1,3 @@
-# Additional sources
-
-SOURCES += \
- # optional
-
-HEADERS += \
- # optional
-
# Declare dependencies and name
@@ -23,22 +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/projectexplorer
# Shiboken binding generation setup
-WRAPPED_HEADER = wrappedclasses.h
+WRAPPED_HEADER = $$PWD/wrappedclasses.h
WRAPPER_DIR = $$OUT_PWD/QtCreatorBindingProjectExplorer
TYPESYSTEM_FILE = typesystem_projectexplorer.xml
-
TYPESYSTEM_NAME = qtcreatorbindingprojectexplorer
-
-## Include additional QtCreator paths
-QT_INCLUDEPATHS += \
- -I"$$IDE_SOURCE_TREE/src/plugins/projectexplorer"
-
-INCLUDEPATH += \
- $$IDE_SOURCE_TREE/src/plugins/projectexplorer \
- $$IDE_SOURCE_TREE/src/libs/utils
+SHIBOKEN_QT = core gui widgets network
## 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
@@ -55,3 +42,5 @@ WRAPPED_CLASSES = \
bindingheaders/utils.h \
bindingheaders/utils_filename.h \
# Sentinel line
+
+include(../../shiboken.pri)