summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-06-03 13:27:21 +0200
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2015-06-08 16:56:52 +0000
commit71b0022dd8aff4eae467453de580cf164c7231ce (patch)
tree69c607e5242ba69047f124887304588a63e1afd3 /src
parenta7be9e73aacd1f6a83c740946997da0677a2221c (diff)
Fix msvc linking issues caused by wrong export macro
Use the correct export macro QWEBENGINEWIDGETS_EXPORT for widget API. Change-Id: I1fe61008938522548fe84936fd97e0458ada3104 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/webenginewidgets/api/qwebenginescriptcollection.h4
-rw-r--r--src/webenginewidgets/api/qwebenginescriptcollection_p.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/webenginewidgets/api/qwebenginescriptcollection.h b/src/webenginewidgets/api/qwebenginescriptcollection.h
index c8e40c5da..5ef9c55c7 100644
--- a/src/webenginewidgets/api/qwebenginescriptcollection.h
+++ b/src/webenginewidgets/api/qwebenginescriptcollection.h
@@ -37,7 +37,7 @@
#ifndef QWEBENGINESCRIPTCOLLECTION_H
#define QWEBENGINESCRIPTCOLLECTION_H
-#include "qtwebengineglobal.h"
+#include "qtwebenginewidgetsglobal.h"
#include "qwebenginescript.h"
#include <QtCore/QScopedPointer>
@@ -47,7 +47,7 @@
QT_BEGIN_NAMESPACE
class QWebEngineScriptCollectionPrivate;
-class Q_WEBENGINE_EXPORT QWebEngineScriptCollection {
+class QWEBENGINEWIDGETS_EXPORT QWebEngineScriptCollection {
public:
~QWebEngineScriptCollection();
bool isEmpty() const { return !count(); }
diff --git a/src/webenginewidgets/api/qwebenginescriptcollection_p.h b/src/webenginewidgets/api/qwebenginescriptcollection_p.h
index 9a3a425ba..76267c70c 100644
--- a/src/webenginewidgets/api/qwebenginescriptcollection_p.h
+++ b/src/webenginewidgets/api/qwebenginescriptcollection_p.h
@@ -37,7 +37,7 @@
#ifndef QWEBENGINESCRIPTCOLLECTION_P_H
#define QWEBENGINESCRIPTCOLLECTION_P_H
-#include "qtwebengineglobal.h"
+#include "qtwebenginewidgetsglobal.h"
#include "qwebenginescript.h"