File 0036-add-include-QtQml-for-old-Qt-versions.patch of Package plasma5-workspace
From a406b58efac7165cb776c8d3f9983acb46af63d1 Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Wed, 18 Jan 2017 17:56:07 +0100
Subject: [PATCH 36/44] add #include <QtQml> for old Qt versions
qmlRegisterType doesn't always work with older qt version
including just QQmlEngine
---
applets/appmenu/plugin/appmenuplugin.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/applets/appmenu/plugin/appmenuplugin.cpp b/applets/appmenu/plugin/appmenuplugin.cpp
index f3fa25c0..893b3e0b 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)
--
2.12.0