diff options
author | Martchus | 2016-12-09 08:13:36 +0100 |
---|---|---|
committer | Martchus | 2016-12-09 08:13:36 +0100 |
commit | 9a80c510256e336c3fc871a8d3890438356aeb00 (patch) | |
tree | 7ca2e4cf03b16f60e30c2ea52cdcb31c373d789f /0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch | |
parent | 6b651f77658909ef1f6626413c70d79f5f9538ee (diff) | |
download | aur-9a80c510256e336c3fc871a8d3890438356aeb00.tar.gz |
Update to 5.7.0
Diffstat (limited to '0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch')
-rw-r--r-- | 0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch b/0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch new file mode 100644 index 000000000000..5bc89b121b32 --- /dev/null +++ b/0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch @@ -0,0 +1,46 @@ +From 516214945fcf3aa7a04845eafa5f9fa9531024b3 Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Sun, 25 Sep 2016 22:08:26 +0200 +Subject: [PATCH 4/9] Prevent symbols not being exported in Qt5WebKit.dll + +WebKit svn commit 136242 implemented a split into QtWebKit and QtWebKitWidgets. +Due to this change a static library named WebKit1.a is created first. +After this a shared library is created named Qt5WebKit.dll which contains +the contents of this static library and some other object files. +However, various symbols in the static library are expected to be exported +in the Qt5WebKit.dll shared library. As static libraries normally don't care +about exported symbols (everything is exported after all) the decoration +attribute Q_DECL_EXPORT won't be set. +This results in undefined references when trying to link the QtWebKitWidgets +shared library (which depends on various symbols which aren't exported properly +in the Qt5WebKit.dll shared library). +--- + Source/WebKit/qt/Api/qwebkitglobal.h | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/Source/WebKit/qt/Api/qwebkitglobal.h b/Source/WebKit/qt/Api/qwebkitglobal.h +index fe222c2..46d629c 100644 +--- a/Source/WebKit/qt/Api/qwebkitglobal.h ++++ b/Source/WebKit/qt/Api/qwebkitglobal.h +@@ -24,7 +24,6 @@ + #include <QtCore/qglobal.h> + #include <QtCore/qstring.h> + +-#ifndef QT_STATIC + # if !defined(QT_BUILD_WEBKITWIDGETS_LIB) && defined(BUILDING_WEBKIT) + # define QWEBKIT_EXPORT Q_DECL_EXPORT + # else +@@ -35,10 +34,6 @@ + # else + # define QWEBKITWIDGETS_EXPORT Q_DECL_IMPORT + # endif +-#else +-# define QWEBKITWIDGETS_EXPORT +-# define QWEBKIT_EXPORT +-#endif + + QWEBKIT_EXPORT QString qWebKitVersion(); + QWEBKIT_EXPORT int qWebKitMajorVersion(); +-- +2.10.2 + |