summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hartmetz <ahartmetz@gmail.com>2015-03-02 12:07:33 (GMT)
committerAndreas Hartmetz <ahartmetz@gmail.com>2015-03-02 12:09:27 (GMT)
commitf847d716a00a597c53d0f75b8668a34294f4440e (patch)
tree4012428a7a2039140d4da9e42295b6c4f687982c
parent90b2f6c62c63799d7b21c9da748c07dbda1a2006 (diff)
Fix build with Qt 5.5 branch.
Is Qt even allowed to remove accidental includes and / or forward declarations?
-rw-r--r--core/bookmarkmanager.h1
-rw-r--r--generators/comicbook/directory.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/core/bookmarkmanager.h b/core/bookmarkmanager.h
index 85d5fcd..fc07b3a 100644
--- a/core/bookmarkmanager.h
+++ b/core/bookmarkmanager.h
@@ -13,6 +13,7 @@
#include <kbookmark.h>
#include "okularcore_export.h"
+#include <QObject>
#include <QUrl>
class QAction;
diff --git a/generators/comicbook/directory.h b/generators/comicbook/directory.h
index bef0adb..01dd473 100644
--- a/generators/comicbook/directory.h
+++ b/generators/comicbook/directory.h
@@ -13,6 +13,8 @@
#include <QtCore/QStringList>
+class QIODevice;
+
class Directory
{
public: