diff options
author | Tilman Roeder <tilman.roder@qt.io> | 2018-08-03 09:38:07 +0200 |
---|---|---|
committer | Tilman Roeder <tilman.roder@qt.io> | 2018-08-15 10:10:16 +0000 |
commit | 13e02b9aaea19ac21251d152a8fa69336ae76ebd (patch) | |
tree | a6320449c18251033d3a2557afaed6a8fcafbfc9 /optional/projectexplorer/binding_custom.pri | |
parent | efea0c2e4a2966d88f65cdab90f841f7905dee14 (diff) |
Initial commit
This is a quite large commit containing:
* The main extension that runs and initializes Python
* Some (example) bindings
* An initial build script for the main extension
* Optional binding and examples of how to create them
* An initial build script for the optional bindings
* A simple extension manager written in Python
* A few example Python extensions
* Some documentation (both in the code and as markdown files)
* A collection of helpful python scripts
* A small collection of unit tests
* A TODO list
For any additional details the code / docs should be consulted.
Change-Id: I3937886cfefa2f64d5a78013889a8e097eec8261
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'optional/projectexplorer/binding_custom.pri')
-rw-r--r-- | optional/projectexplorer/binding_custom.pri | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/optional/projectexplorer/binding_custom.pri b/optional/projectexplorer/binding_custom.pri new file mode 100644 index 0000000..b9e3faf --- /dev/null +++ b/optional/projectexplorer/binding_custom.pri @@ -0,0 +1,57 @@ +# Additional sources + +SOURCES += \ + # optional + +HEADERS += \ + # optional + + +# Declare dependencies and name + +# This has to be PythonBinding{PluginName} +QTC_PLUGIN_NAME = PythonBindingProjectExplorer +QTC_LIB_DEPENDS += \ + extensionsystem \ + utils + +QTC_PLUGIN_DEPENDS += \ + coreplugin \ + projectexplorer \ + pythonextensions + +QTC_PLUGIN_RECOMMENDS += \ + # optional plugin dependencies. nothing here at this time + + +# Shiboken binding generation setup + +WRAPPED_HEADER = 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 + +## 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/projectexplorer.h \ + bindingheaders/projectexplorer_buildconfiguration.h \ + bindingheaders/projectexplorer_projectconfiguration.h \ + bindingheaders/projectexplorer_statefulprojectconfiguration.h \ + # bindingheaders/projectexplorer_ibuildconfigurationfactory.h \ + bindingheaders/projectexplorer_runconfiguration.h \ + bindingheaders/projectexplorer_project.h \ + bindingheaders/projectexplorer_projecttree.h \ + bindingheaders/utils.h \ + bindingheaders/utils_filename.h \ +# Sentinel line |