From dfa04388c71c270d37babdf9fb4588cc3a9a49f5 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Wed, 30 Mar 2016 11:50:46 +0200 Subject: [PATCH] Fix build on Windows --- src/lib/plugins/plugininterface.h | 4 ++-- src/lib/webengine/webhittestresult.h | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/plugins/plugininterface.h b/src/lib/plugins/plugininterface.h index ac91b4244..7378b7bc2 100644 --- a/src/lib/plugins/plugininterface.h +++ b/src/lib/plugins/plugininterface.h @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +23,7 @@ #include #include "qzcommon.h" +#include "webhittestresult.h" struct PluginSpec { QString name; @@ -54,7 +55,6 @@ class QWheelEvent; class WebView; class WebPage; -class WebHitTestResult; class PluginInterface { diff --git a/src/lib/webengine/webhittestresult.h b/src/lib/webengine/webhittestresult.h index 7da8c4ed2..d214e73f5 100644 --- a/src/lib/webengine/webhittestresult.h +++ b/src/lib/webengine/webhittestresult.h @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - QtWebEngine based browser -* Copyright (C) 2015 David Rosca +* Copyright (C) 2015-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,9 +23,11 @@ #include #include +#include "qzcommon.h" + class WebPage; -class WebHitTestResult +class QUPZILLA_EXPORT WebHitTestResult { public: explicit WebHitTestResult(const WebPage *page, const QPoint &pos);