From 9ecb100128ee8729c4ad50e2ae5981c10ba6c286 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 28 Sep 2018 13:42:01 +0200 Subject: Include Qt Creator typesystem instead of duplicating API This seems to work now after beautifying the import hierarchy. Change-Id: I24daf09ff63ef91023366c12308d2f9fcd2676aa Reviewed-by: Eike Ziller --- optional/projectexplorer/bindingheaders/utils.h | 0 .../bindingheaders/utils_filename.h | 0 optional/projectexplorer/projectexplorer.pro | 3 +-- .../projectexplorer/typesystem_projectexplorer.xml | 11 +---------- optional/texteditor/typesystem_texteditor.xml | 22 +--------------------- shiboken.pri | 6 +++--- 6 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 optional/projectexplorer/bindingheaders/utils.h delete mode 100644 optional/projectexplorer/bindingheaders/utils_filename.h diff --git a/optional/projectexplorer/bindingheaders/utils.h b/optional/projectexplorer/bindingheaders/utils.h deleted file mode 100644 index e69de29..0000000 diff --git a/optional/projectexplorer/bindingheaders/utils_filename.h b/optional/projectexplorer/bindingheaders/utils_filename.h deleted file mode 100644 index e69de29..0000000 diff --git a/optional/projectexplorer/projectexplorer.pro b/optional/projectexplorer/projectexplorer.pro index b998d93..88bf4a1 100644 --- a/optional/projectexplorer/projectexplorer.pro +++ b/optional/projectexplorer/projectexplorer.pro @@ -18,6 +18,7 @@ QTC_PLUGIN_RECOMMENDS += \ include(../binding/binding.pri) INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins/projectexplorer + win32: DEFINES += NOMINMAX # Shiboken binding generation setup @@ -40,8 +41,6 @@ WRAPPED_CLASSES = \ bindingheaders/projectexplorer_runconfiguration.h \ bindingheaders/projectexplorer_project.h \ bindingheaders/projectexplorer_projecttree.h \ - bindingheaders/utils.h \ - bindingheaders/utils_filename.h \ # Sentinel line include(../../shiboken.pri) diff --git a/optional/projectexplorer/typesystem_projectexplorer.xml b/optional/projectexplorer/typesystem_projectexplorer.xml index 0e0eeff..ab66793 100644 --- a/optional/projectexplorer/typesystem_projectexplorer.xml +++ b/optional/projectexplorer/typesystem_projectexplorer.xml @@ -42,11 +42,8 @@ - - - - + @@ -65,10 +62,4 @@ - - - - - - diff --git a/optional/texteditor/typesystem_texteditor.xml b/optional/texteditor/typesystem_texteditor.xml index ef10df0..f421b76 100644 --- a/optional/texteditor/typesystem_texteditor.xml +++ b/optional/texteditor/typesystem_texteditor.xml @@ -42,28 +42,8 @@ - - - - - + diff --git a/shiboken.pri b/shiboken.pri index 29e81b9..587406a 100644 --- a/shiboken.pri +++ b/shiboken.pri @@ -24,7 +24,7 @@ for (path, SHIBOKEN_FRAMEWORKPATHS): SHIBOKEN_CXXFLAGS *= -F$$path SHIBOKEN_OPTIONS = --generator-set=shiboken --enable-parent-ctor-heuristic \ --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero \ - $$SHIBOKEN_CXXFLAGS -I$$PWD -T$$PWD -T$$PYSIDE2/typesystems --output-directory=$$OUT_PWD + $$SHIBOKEN_CXXFLAGS -T$$PYSIDE2/typesystems --output-directory=$$OUT_PWD win32: SHIBOKEN_OPTIONS += --avoid-protected-hack @@ -50,8 +50,8 @@ QMAKE_EXTRA_COMPILERS += shiboken module_wrapper_dummy_command # TODO: Fix some more of these hardcoded include paths INCLUDEPATH += $$WRAPPER_DIR \ - $$WRAPPER_DIR/../../../plugins/pythonextensions \ - $$WRAPPER_DIR/../../../plugins/pythonextensions/PythonExtension/QtCreator \ + $$PWD/plugins/pythonextensions \ + $$shadowed($$PWD)/plugins/pythonextensions/QtCreator \ "$$IDE_SOURCE_TREE/src/plugins/coreplugin" \ "$$IDE_SOURCE_TREE/src/plugins/coreplugin/actionmanager" \ "$$IDE_SOURCE_TREE/src/plugins/coreplugin/editormanager" \ -- cgit v1.2.3