File fix-build-qt59.patch of Package khtml
From 2d9c893adef9ba22a6357b01c51ca9983fbba5a9 Mon Sep 17 00:00:00 2001
From: Aleix Pol <aleixpol@kde.org>
Date: Mon, 10 Apr 2017 23:47:43 +0200
Subject: [PATCH] Fix build with Qt 5.9
Summary:
Otherwise we get the following error:
/home/apol/devel/frameworks/khtml/src/khtml_factory.h:31: Error: Plugin Metadata file "" could not be opened: file to open is a directory
Arguably it's something to fix upstream, but also having `FILE ""` doesn't add
much either.
BUG: 377490
Test Plan: Now it compiles, tests pass, khelpcenter runs.
Reviewers: #frameworks, kfunk
Reviewed By: kfunk
Subscribers: mpyne, ltoscano, #frameworks
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D5392
---
src/khtml_factory.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/khtml_factory.h b/src/khtml_factory.h
index 2f81055..b700335 100644
--- a/src/khtml_factory.h
+++ b/src/khtml_factory.h
@@ -28,7 +28,7 @@
class KHTMLFactory : public KPluginFactory
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory" FILE "")
+ Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory")
Q_INTERFACES(KPluginFactory)
public:
KHTMLFactory();