aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-09-21 16:00:00 +0200
committerEike Ziller <eike.ziller@qt.io>2018-09-24 13:49:27 +0000
commitee72345d6c4f7a576f25f3d04a24e4e49585397b (patch)
tree79e88574f704726ab5c389d6f9b8c868788e20a8
parent9ebe20ca27fbce2ca2934e40dfd1a7a21aaa6658 (diff)
Fix compilation of ProjectExplorer bindings on Windows
Enum classes that are returned from protected functions seem to create issues, so remove that for now. Change-Id: If7d62c0349ba24d93de8f82bf66d5f0c0681e021 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--optional/projectexplorer/typesystem_projectexplorer.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/optional/projectexplorer/typesystem_projectexplorer.xml b/optional/projectexplorer/typesystem_projectexplorer.xml
index b663619..0e0eeff 100644
--- a/optional/projectexplorer/typesystem_projectexplorer.xml
+++ b/optional/projectexplorer/typesystem_projectexplorer.xml
@@ -60,7 +60,9 @@
<object-type name="ProjectTree"/>
<object-type name="Project">
<enum-type name="ModelRoles"/>
- <enum-type name="RestoreResult"/>
+ <!-- protected methods that return enum classes fail on Windows, remove for now -->
+ <!--<enum-type name="RestoreResult"/>-->
+ <modify-function signature="fromMap(const QVariantMap&amp;,QString*)" remove="all"/>
</object-type>
</namespace-type>