summaryrefslogtreecommitdiff
path: root/navit/graphics/qt5/graphics_qt5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'navit/graphics/qt5/graphics_qt5.cpp')
-rw-r--r--navit/graphics/qt5/graphics_qt5.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/graphics/qt5/graphics_qt5.cpp b/navit/graphics/qt5/graphics_qt5.cpp
index e2747ff78..7d157935e 100644
--- a/navit/graphics/qt5/graphics_qt5.cpp
+++ b/navit/graphics/qt5/graphics_qt5.cpp
@@ -753,10 +753,12 @@ static void* get_data(struct graphics_priv* this_priv, char const* type) {
resize_callback(this_priv, this_priv->pixmap->width(), this_priv->pixmap->height());
return win;
}
+#if USE_QML
if (strcmp(type, "engine") == 0) {
dbg(lvl_debug, "Hand over QQmlApplicationEngine");
return (this_priv->engine);
}
+#endif
return NULL;
}