aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-09-14 16:31:06 +0200
committerEike Ziller <eike.ziller@qt.io>2018-09-17 10:52:21 +0000
commit0fad82172952ced702af35bf4a7aaaa6ef10268e (patch)
treeb47469b13faef9c5e5a5d030bce3e956fa803802
parent9e10b05850ee3a42513a334e66f61b37e02691e8 (diff)
Fix 'projects' example
Missed the QtCreator import Change-Id: I6e8a9180e7f2f018a018f9ebc587bf6ca015b247 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--examples/projects/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/projects/__init__.py b/examples/projects/__init__.py
index daac366..29947e7 100644
--- a/examples/projects/__init__.py
+++ b/examples/projects/__init__.py
@@ -42,7 +42,9 @@
# project. It also includes a dependency on a plugin
# that can be disabled.
-import sys, view
+import view
+
+from PythonExtension import QtCreator
# When importing optional bindings, we can warn the user in case things go south
try: