summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <[email protected]>2017-01-18 17:56:07 +0100
committerMarco Martin <[email protected]>2017-01-18 17:56:07 +0100
commitb0c2d26470aa4d0a43f86b9374280d21b584cb71 (patch)
treefe6b5ff87eb00a05b4d05cbe7156aeafa77d88b3
parentad4eb8b6738c739b755b6012b9b02973fac4c443 (diff)
add #include <QtQml> for old Qt versions
qmlRegisterType doesn't always work with older qt version including just QQmlEngine
-rw-r--r--applets/appmenu/plugin/appmenuplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/appmenu/plugin/appmenuplugin.cpp b/applets/appmenu/plugin/appmenuplugin.cpp
index f3fa25c..893b3e0 100644
--- a/applets/appmenu/plugin/appmenuplugin.cpp
+++ b/applets/appmenu/plugin/appmenuplugin.cpp
@@ -22,6 +22,7 @@
#include "appmenuplugin.h"
#include "appmenumodel.h"
+#include <QtQml>
#include <QQmlEngine>
void AppmenuPlugin::registerTypes(const char *uri)