Update Qt packages to 5.10.0

This commit is contained in:
Martchus 2017-12-08 19:49:53 +01:00
parent cb2f196090
commit 5695ac7572
195 changed files with 1335 additions and 986 deletions

View File

@ -65,6 +65,7 @@ done
# preserve first src line to keep variables unevaluated # preserve first src line to keep variables unevaluated
newsrc=$(grep 'source=(' "$dest/PKGBUILD") newsrc=$(grep 'source=(' "$dest/PKGBUILD")
[[ $newsrc ]] || newsrc="source=(${new_sources[0]}" [[ $newsrc ]] || newsrc="source=(${new_sources[0]}"
[ "${newsrc: -1:1}" == ')' ] && newsrc="${newsrc: 0:-1}" # truncate trailing )
for source in "${new_sources[@]:1}"; do for source in "${new_sources[@]:1}"; do
newsrc+="\n '${source##*/}'" newsrc+="\n '${source##*/}'"
done done

View File

@ -9,7 +9,7 @@
_qt_module=qt3d _qt_module=qt3d
pkgname="mingw-w64-qt5-3d" pkgname="mingw-w64-qt5-3d"
pkgver=5.9.2 pkgver=5.10.0
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)" pkgdesc="C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)"
@ -19,9 +19,9 @@ options=('!strip' '!buildflags' 'staticlibs')
groups=('mingw-w64-qt5') groups=('mingw-w64-qt5')
license=('GPL3' 'LGPL3' 'FDL' 'custom') license=('GPL3' 'LGPL3' 'FDL' 'custom')
url='https://www.qt.io/' url='https://www.qt.io/'
_pkgfqn="${_qt_module}-opensource-src-${pkgver}" _pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/submodules/${_pkgfqn}.tar.xz") source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('c955a92fe2f3f2f03493ae0e9d973ebe1c4b1e037b58f18092fa2040f5b50783') sha256sums=('12457e7227c793274329371c60b9028ab3e44db837e875e2c460367c1dbd34ab')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32' _architectures='i686-w64-mingw32 x86_64-w64-mingw32'
[[ $NO_STATIC_LIBS ]] || \ [[ $NO_STATIC_LIBS ]] || \

View File

@ -1,4 +1,4 @@
From 82a268b89f2c68be1ce2d10eb89634bd3bff9715 Mon Sep 17 00:00:00 2001 From 5e50bfc8c4dbc276ee4ec189794584f7b8bdf2a2 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 17:17:46 +0200 Date: Fri, 2 Jun 2017 17:17:46 +0200
Subject: [PATCH 1/2] Don't require windows.h when using native Linux gcc Subject: [PATCH 1/2] Don't require windows.h when using native Linux gcc
@ -8,7 +8,7 @@ Subject: [PATCH 1/2] Don't require windows.h when using native Linux gcc
1 file changed, 1 deletion(-) 1 file changed, 1 deletion(-)
diff --git a/src/tools/idc/idc.pro b/src/tools/idc/idc.pro diff --git a/src/tools/idc/idc.pro b/src/tools/idc/idc.pro
index 1898ed5..524ee2e 100644 index 7f9a8d4..6f3548a 100644
--- a/src/tools/idc/idc.pro --- a/src/tools/idc/idc.pro
+++ b/src/tools/idc/idc.pro +++ b/src/tools/idc/idc.pro
@@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
@ -17,5 +17,5 @@ index 1898ed5..524ee2e 100644
SOURCES = main.cpp SOURCES = main.cpp
-- --
2.14.2 2.15.1

View File

@ -1,4 +1,4 @@
From ba803e4196000080e8e5b5abce811e54318eb08e Mon Sep 17 00:00:00 2001 From 986644a25ba7d02fb0044b1cb163329e2b8f4e89 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 17:21:08 +0200 Date: Fri, 2 Jun 2017 17:21:08 +0200
Subject: [PATCH 2/2] Handle win64 in dumpcpp and Subject: [PATCH 2/2] Handle win64 in dumpcpp and
@ -11,10 +11,10 @@ See https://bugreports.qt.io/browse/QTBUG-46827
2 files changed, 12 insertions(+) 2 files changed, 12 insertions(+)
diff --git a/src/activeqt/container/qaxbase.cpp b/src/activeqt/container/qaxbase.cpp diff --git a/src/activeqt/container/qaxbase.cpp b/src/activeqt/container/qaxbase.cpp
index cd564d3..f3c55b1 100644 index aa66398..087b83c 100644
--- a/src/activeqt/container/qaxbase.cpp --- a/src/activeqt/container/qaxbase.cpp
+++ b/src/activeqt/container/qaxbase.cpp +++ b/src/activeqt/container/qaxbase.cpp
@@ -2170,6 +2170,10 @@ void MetaObjectGenerator::readClassInfo() @@ -2180,6 +2180,10 @@ void MetaObjectGenerator::readClassInfo()
const QStringList versions = controls.childGroups(); const QStringList versions = controls.childGroups();
for (const QString &version : versions) { for (const QString &version : versions) {
tlfile = controls.value(QLatin1Char('/') + version + QLatin1String("/0/win32/.")).toString(); tlfile = controls.value(QLatin1Char('/') + version + QLatin1String("/0/win32/.")).toString();
@ -52,5 +52,5 @@ index 1f0cca8..d26bd78 100644
} }
-- --
2.14.2 2.15.1

View File

@ -9,7 +9,7 @@
_qt_module=qtactiveqt _qt_module=qtactiveqt
pkgname=mingw-w64-qt5-activeqt pkgname=mingw-w64-qt5-activeqt
pkgver=5.9.2 pkgver=5.10.0
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
pkgdesc="ActiveX integration framework (mingw-w64)" pkgdesc="ActiveX integration framework (mingw-w64)"
@ -19,13 +19,13 @@ options=('!strip' '!buildflags' 'staticlibs')
groups=('mingw-w64-qt5') groups=('mingw-w64-qt5')
license=('GPL3' 'LGPL3' 'LGPL2.1' 'FDL' 'custom') license=('GPL3' 'LGPL3' 'LGPL2.1' 'FDL' 'custom')
url='https://www.qt.io/' url='https://www.qt.io/'
_pkgfqn="${_qt_module}-opensource-src-${pkgver}" _pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/submodules/${_pkgfqn}.tar.xz" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz"
'0001-Don-t-require-windows.h-when-using-native-Linux-gcc.patch' '0001-Don-t-require-windows.h-when-using-native-Linux-gcc.patch'
'0002-Handle-win64-in-dumpcpp-and-MetaObjectGenerator-read.patch') '0002-Handle-win64-in-dumpcpp-and-MetaObjectGenerator-read.patch')
sha256sums=('60458d1972075b7196122b01d0ef7929cef49cc3f0683f8e46cd3a65b44de5cf' sha256sums=('f9d74034ffe6e54278f1720d4c8c678f80882b9fffa3b698bd212f0a4b5cd674'
'7e2f0bd1803d8c6d4ba3618a7ee02d3887f192ef9d3f6ab31d7f5468b515e3c0' '7e099a0aaa459d25eea88105179237653571ac0a2498c987ab9bdccaf118722b'
'b781aa5f1bccc9be056ba15f1ff3e557cd19b48ad212a37a529dc414844f3af1') 'e65bdeeaf11f2e905145ff3aac81a735f5d2f3c68cf5ba69f1ee36ef4b25e50f')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32' _architectures='i686-w64-mingw32 x86_64-w64-mingw32'
[[ $NO_STATIC_LIBS ]] || \ [[ $NO_STATIC_LIBS ]] || \

View File

@ -5,7 +5,7 @@
# All patches are managed at https://github.com/Martchus/qtbase # All patches are managed at https://github.com/Martchus/qtbase
pkgname=apple-darwin-qt5-base pkgname=apple-darwin-qt5-base
pkgver=5.9.2 pkgver=5.10.0
pkgrel=1 pkgrel=1
pkgdesc='A cross-platform application and UI framework (apple-darwin)' pkgdesc='A cross-platform application and UI framework (apple-darwin)'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -16,8 +16,8 @@ groups=('apple-darwin-qt5')
optdepends=() optdepends=()
makedepends=('clang') makedepends=('clang')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
_pkgfqn="qtbase-opensource-src-${pkgver}" _pkgfqn="qtbase-everywhere-src-${pkgver}"
source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/submodules/${_pkgfqn}.tar.xz" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz"
'0001-Enable-cross-compilation-with-osxcross.patch' '0001-Enable-cross-compilation-with-osxcross.patch'
'0002-Allow-overriding-stdlib-under-MacOS.patch' '0002-Allow-overriding-stdlib-under-MacOS.patch'
'0003-Remove-error-handling-for-Xcode-detection.patch' '0003-Remove-error-handling-for-Xcode-detection.patch'
@ -26,7 +26,7 @@ source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/sub
'0006-Pull-dependencies-of-static-libraries-in-CMake-modul.patch' '0006-Pull-dependencies-of-static-libraries-in-CMake-modul.patch'
'0007-Fix-finding-gl.h-when-cross-compiling-with-osxcross.patch' '0007-Fix-finding-gl.h-when-cross-compiling-with-osxcross.patch'
'0008-Prevent-error-when-qmlimportscanner-not-available.patch') '0008-Prevent-error-when-qmlimportscanner-not-available.patch')
sha256sums=('bc9a21e9f6fff9629019fdf9f989f064751d5073c3a28dc596def92f4d4275c6' sha256sums=('fd5578cd320a13617c12cf2b19439386b203d6d45548e855f94e07be9829f762'
'f5b474fc11f929c8e1563136c6b53d09c9e405ebf5a7940a63dc13f00d3e2bbd' 'f5b474fc11f929c8e1563136c6b53d09c9e405ebf5a7940a63dc13f00d3e2bbd'
'a51749efb16b81f5e272a0864a6e2583942998bca1fe397c0e4205b269c97ae4' 'a51749efb16b81f5e272a0864a6e2583942998bca1fe397c0e4205b269c97ae4'
'73d314dad7a93073140ee9d868e1071a107b1afdecc67cb67d85a91391452a82' '73d314dad7a93073140ee9d868e1071a107b1afdecc67cb67d85a91391452a82'

View File

@ -1,7 +1,7 @@
From 76b918b0c930c9c4c704f4ce947822e30c1bf1ec Mon Sep 17 00:00:00 2001 From af6803389ebba50abfe7ad299bbf99c9c8d1a8aa Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 18:30:51 +0100 Date: Fri, 3 Feb 2017 18:30:51 +0100
Subject: [PATCH 01/33] Add profile for cross compilation with mingw-w64 Subject: [PATCH 01/34] Add profile for cross compilation with mingw-w64
--- ---
mkspecs/mingw-w64-g++/qmake.conf | 126 +++++++++++++++++++++++++++ mkspecs/mingw-w64-g++/qmake.conf | 126 +++++++++++++++++++++++++++
@ -12,7 +12,7 @@ Subject: [PATCH 01/33] Add profile for cross compilation with mingw-w64
diff --git a/mkspecs/mingw-w64-g++/qmake.conf b/mkspecs/mingw-w64-g++/qmake.conf diff --git a/mkspecs/mingw-w64-g++/qmake.conf b/mkspecs/mingw-w64-g++/qmake.conf
new file mode 100644 new file mode 100644
index 0000000000..c929483fcd index 0000000000..0979611a53
--- /dev/null --- /dev/null
+++ b/mkspecs/mingw-w64-g++/qmake.conf +++ b/mkspecs/mingw-w64-g++/qmake.conf
@@ -0,0 +1,126 @@ @@ -0,0 +1,126 @@
@ -133,7 +133,7 @@ index 0000000000..c929483fcd
+ $$system($${QMAKE_PKG_CONFIG} --static --libs harfbuzz) \ + $$system($${QMAKE_PKG_CONFIG} --static --libs harfbuzz) \
+ $$system($${QMAKE_PKG_CONFIG} --static --libs freetype2) + $$system($${QMAKE_PKG_CONFIG} --static --libs freetype2)
+QMAKE_LIBS_NETWORK = -lws2_32 -lcrypt32 -ldnsapi +QMAKE_LIBS_NETWORK = -lws2_32 -lcrypt32 -ldnsapi
+QMAKE_LIBS_NETWORK_STATIC = $${CROSS_COMPILE_PREFIX}/lib/openssl-1.0/libssl.a $${CROSS_COMPILE_PREFIX}/lib/openssl-1.0/libcrypto.a -lgdi32 +QMAKE_LIBS_NETWORK_STATIC = $$system($${QMAKE_PKG_CONFIG} --static --libs openssl) -ldnsapi
+QMAKE_LIBS_DBUS = $$system($${QMAKE_PKG_CONFIG} --static --libs dbus-1) +QMAKE_LIBS_DBUS = $$system($${QMAKE_PKG_CONFIG} --static --libs dbus-1)
+QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32 +QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32
+QMAKE_LIBS_OPENGL_ES2 = -l$${LIBEGL_NAME} -l$${LIBGLESV2_NAME} -ld3d9 -ldxguid -lgdi32 -luser32 +QMAKE_LIBS_OPENGL_ES2 = -l$${LIBEGL_NAME} -l$${LIBGLESV2_NAME} -ld3d9 -ldxguid -lgdi32 -luser32
@ -304,5 +304,5 @@ index 0000000000..c5a70b1445
+ +
+#endif // QPLATFORMDEFS_H +#endif // QPLATFORMDEFS_H
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 31fa3e1192849fb5460b346a3fc1f91fe1431f8e Mon Sep 17 00:00:00 2001 From b8e324aa1716e50bdb66772bab2442e5b7c7afe8 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:36:53 +0200 Date: Sun, 18 Sep 2016 13:36:53 +0200
Subject: [PATCH 02/33] Ensure GLdouble is defined when using dynamic OpenGL Subject: [PATCH 02/34] Ensure GLdouble is defined when using dynamic OpenGL
FIXME: Not sure whether this is still required FIXME: Not sure whether this is still required
--- ---
@ -23,5 +23,5 @@ index 0a5de2c9af..35798a2a28 100644
#ifdef Q_ENABLE_OPENGL_FUNCTIONS_DEBUG #ifdef Q_ENABLE_OPENGL_FUNCTIONS_DEBUG
#include <stdio.h> #include <stdio.h>
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 00b0e801caf246047f3ea18bead0ffc7c7631dad Mon Sep 17 00:00:00 2001 From 036909a4c082a17bee90c451842ebaee896e1893 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:41:38 +0200 Date: Sun, 18 Sep 2016 13:41:38 +0200
Subject: [PATCH 03/33] Use external ANGLE library Subject: [PATCH 03/34] Use external ANGLE library
--- ---
src/gui/Qt5GuiConfigExtras.cmake.in | 4 ++-- src/gui/Qt5GuiConfigExtras.cmake.in | 4 ++--
@ -28,7 +28,7 @@ index 07869efd7d..2e32911a64 100644
_qt5_Gui_check_file_exists(${Qt5Gui_EGL_INCLUDE_DIRS}) _qt5_Gui_check_file_exists(${Qt5Gui_EGL_INCLUDE_DIRS})
diff --git a/src/gui/gui.pro b/src/gui/gui.pro diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index f7d077e656..b7fc6fadaf 100644 index f8cec00b82..d09c9fd49c 100644
--- a/src/gui/gui.pro --- a/src/gui/gui.pro
+++ b/src/gui/gui.pro +++ b/src/gui/gui.pro
@@ -18,12 +18,6 @@ MODULE_PLUGIN_TYPES = \ @@ -18,12 +18,6 @@ MODULE_PLUGIN_TYPES = \
@ -66,7 +66,7 @@ index 016db46405..02f1204f0f 100644
HEADERS += qgl.h \ HEADERS += qgl.h \
qgl_p.h \ qgl_p.h \
diff --git a/src/plugins/platforms/windows/windows.pri b/src/plugins/platforms/windows/windows.pri diff --git a/src/plugins/platforms/windows/windows.pri b/src/plugins/platforms/windows/windows.pri
index 6d01d05fcc..181ac2cb3b 100644 index b7790a66e3..046fe34a06 100644
--- a/src/plugins/platforms/windows/windows.pri --- a/src/plugins/platforms/windows/windows.pri
+++ b/src/plugins/platforms/windows/windows.pri +++ b/src/plugins/platforms/windows/windows.pri
@@ -4,6 +4,7 @@ LIBS += -lole32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32 @@ -4,6 +4,7 @@ LIBS += -lole32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32
@ -78,10 +78,10 @@ index 6d01d05fcc..181ac2cb3b 100644
mingw: LIBS *= -luuid mingw: LIBS *= -luuid
# For the dialog helpers: # For the dialog helpers:
diff --git a/src/src.pro b/src/src.pro diff --git a/src/src.pro b/src/src.pro
index 43fc06f2e5..4188d4ea6b 100644 index a2064b1362..b9ba606b03 100644
--- a/src/src.pro --- a/src/src.pro
+++ b/src/src.pro +++ b/src/src.pro
@@ -175,10 +175,6 @@ qtConfig(gui) { @@ -180,10 +180,6 @@ qtConfig(gui) {
SUBDIRS += src_3rdparty_harfbuzzng SUBDIRS += src_3rdparty_harfbuzzng
src_gui.depends += src_3rdparty_harfbuzzng src_gui.depends += src_3rdparty_harfbuzzng
} }
@ -93,5 +93,5 @@ index 43fc06f2e5..4188d4ea6b 100644
SUBDIRS += src_3rdparty_libpng SUBDIRS += src_3rdparty_libpng
src_3rdparty_freetype.depends += src_3rdparty_libpng src_3rdparty_freetype.depends += src_3rdparty_libpng
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 6f9daffcc9b83acbcae94ced0708f6f96f2e99c4 Mon Sep 17 00:00:00 2001 From d67f33383fde286f9c8e77bbd686a5c335473645 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:48:51 +0200 Date: Sun, 18 Sep 2016 13:48:51 +0200
Subject: [PATCH 04/33] Fix too many sections assemler error in OpenGL factory Subject: [PATCH 04/34] Fix too many sections assemler error in OpenGL factory
On x86_64 qopenglversionfunctionsfactory.o exceeds the On x86_64 qopenglversionfunctionsfactory.o exceeds the
limit of 32768 sections. limit of 32768 sections.
@ -25,5 +25,5 @@ index 4c778b184e..1dd1755d7f 100644
HEADERS += opengl/qopengl.h \ HEADERS += opengl/qopengl.h \
opengl/qopengl_p.h \ opengl/qopengl_p.h \
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 198b5f7e944f21a7f9caaeb686afddfc9e87c768 Mon Sep 17 00:00:00 2001 From 1c595c81473d93a87b339df137820624cafdc373 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:54:12 +0200 Date: Sun, 18 Sep 2016 13:54:12 +0200
Subject: [PATCH 05/33] Make sure *.pc files are installed correctly Subject: [PATCH 05/34] Make sure *.pc files are installed correctly
--- ---
qmake/generators/makefile.cpp | 8 ++++++-- qmake/generators/makefile.cpp | 8 ++++++--
@ -10,7 +10,7 @@ Subject: [PATCH 05/33] Make sure *.pc files are installed correctly
3 files changed, 8 insertions(+), 4 deletions(-) 3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index a1f3352aa3..0be4b1ef01 100644 index 82573347b6..b9871ff49c 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3146,7 +3146,7 @@ MakefileGenerator::openOutput(QFile &file, const QString &build) const @@ -3146,7 +3146,7 @@ MakefileGenerator::openOutput(QFile &file, const QString &build) const
@ -62,5 +62,5 @@ index 75bb5d236d..737f3abc3a 100644
uninst.append("\n\t"); uninst.append("\n\t");
uninst.append("-$(DEL_FILE) " + escapeFilePath(dst_pc)); uninst.append("-$(DEL_FILE) " + escapeFilePath(dst_pc));
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 5731914d9e5d8a026901e5bbab3f3ee1b3ea50f3 Mon Sep 17 00:00:00 2001 From 50b56803c962a656211021e50cd3e7df57722726 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:58:28 +0200 Date: Sun, 18 Sep 2016 13:58:28 +0200
Subject: [PATCH 06/33] Don't add resource files to LIBS parameter Subject: [PATCH 06/34] Don't add resource files to LIBS parameter
Solves an issue where the generated pkg-config Solves an issue where the generated pkg-config
files contained invalid Libs.private references files contained invalid Libs.private references
@ -11,10 +11,10 @@ like .obj/debug/Qt5Cored_resource_res.o
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index bad53dc5b7..c730d641b2 100644 index 792ffb1997..faf8b5a275 100644
--- a/qmake/generators/win32/mingw_make.cpp --- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp
@@ -202,7 +202,7 @@ void MingwMakefileGenerator::init() @@ -196,7 +196,7 @@ void MingwMakefileGenerator::init()
processVars(); processVars();
@ -24,5 +24,5 @@ index bad53dc5b7..c730d641b2 100644
if (project->isActiveConfig("dll")) { if (project->isActiveConfig("dll")) {
QString destDir = ""; QString destDir = "";
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 285b5fee5b5ada6cd82ddaf33eb9c1a05b564bc6 Mon Sep 17 00:00:00 2001 From b02e8af19e3d94f9c39bbcaf94e91ab6dc6ca3f8 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:01:14 +0200 Date: Sun, 18 Sep 2016 14:01:14 +0200
Subject: [PATCH 07/33] Prevent debug library names in pkg-config files Subject: [PATCH 07/34] Prevent debug library names in pkg-config files
qmake generates the pkgconfig .pc files two times, once for the qmake generates the pkgconfig .pc files two times, once for the
release build and once for the debug build (which we're not actually release build and once for the debug build (which we're not actually
@ -15,7 +15,7 @@ files for the debug build an unique file name.
1 file changed, 3 insertions(+) 1 file changed, 3 insertions(+)
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 0be4b1ef01..c7e075b5bc 100644 index b9871ff49c..0d07d6c333 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3160,6 +3160,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir) @@ -3160,6 +3160,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir)
@ -29,5 +29,5 @@ index 0be4b1ef01..c7e075b5bc 100644
QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString(); QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString();
if(!subdir.isEmpty()) { if(!subdir.isEmpty()) {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 1ee8c85cd86ca49c2d43d81af0c57eb49b877372 Mon Sep 17 00:00:00 2001 From e48d371cf5b0b98f91fca0fe38a5dd0479fcdfca Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Thu, 26 Jan 2017 17:51:31 +0100 Date: Thu, 26 Jan 2017 17:51:31 +0100
Subject: [PATCH 08/33] Fix linking against shared/static libpng Subject: [PATCH 08/34] Fix linking against shared/static libpng
Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf
--- ---
@ -9,10 +9,10 @@ Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 28c8034c75..7e9148500b 100644 index 0a591e110c..4ca919c6da 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -294,7 +294,8 @@ @@ -296,7 +296,8 @@
"sources": [ "sources": [
{ "type": "pkgConfig", "args": "libpng" }, { "type": "pkgConfig", "args": "libpng" },
{ "libs": "-llibpng", "condition": "config.msvc" }, { "libs": "-llibpng", "condition": "config.msvc" },
@ -23,5 +23,5 @@ index 28c8034c75..7e9148500b 100644
"use": [ "use": [
{ "lib": "zlib", "condition": "features.system-zlib" } { "lib": "zlib", "condition": "features.system-zlib" }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 3e04b4a701a7dde06f5ea046198ac5646b644e86 Mon Sep 17 00:00:00 2001 From 6785fbf99c08ef26967bcd064941b7bd692afb41 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 19:36:25 +0100 Date: Fri, 3 Feb 2017 19:36:25 +0100
Subject: [PATCH 09/33] Fix linking against static D-Bus Subject: [PATCH 09/34] Fix linking against static D-Bus
--- ---
configure.json | 9 +++++++-- configure.json | 9 +++++++--
@ -9,7 +9,7 @@ Subject: [PATCH 09/33] Fix linking against static D-Bus
2 files changed, 11 insertions(+), 2 deletions(-) 2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index a91456aaf3..55c56369ba 100644 index 26e1572f32..108619634c 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -171,18 +171,23 @@ @@ -171,18 +171,23 @@
@ -54,5 +54,5 @@ index cfc0e12046..65f1397cd6 100644
# include <dbus/dbus.h> # include <dbus/dbus.h>
#else #else
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 28750e29ab3549300823ff8af3c2064479e71c95 Mon Sep 17 00:00:00 2001 From 94ba6e5a623a81ee02f6b7a46b7e82f4ea505f4f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 18:28:10 +0200 Date: Fri, 2 Jun 2017 18:28:10 +0200
Subject: [PATCH 10/33] Don't try to use debug version of D-Bus library Subject: [PATCH 10/34] Don't try to use debug version of D-Bus library
Required for a debug build of Qt because mingw-w64-dbus Required for a debug build of Qt because mingw-w64-dbus
does not contain debug version does not contain debug version
@ -12,7 +12,7 @@ Change-Id: Ic34e1025fda55f9659e065f5bbe9d51f55420adb
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index 55c56369ba..9914bf0487 100644 index 108619634c..d668ce0c98 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -184,7 +184,7 @@ @@ -184,7 +184,7 @@
@ -25,5 +25,5 @@ index 55c56369ba..9914bf0487 100644
}, },
"condition": "config.win32 && features.shared" "condition": "config.win32 && features.shared"
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From e7e7c7500e07d5d1eaa69550ac6c760e55e857a4 Mon Sep 17 00:00:00 2001 From 6e4e751d6f39c6869cacb6d4148f5358f58bb54e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 20:51:19 +0100 Date: Fri, 3 Feb 2017 20:51:19 +0100
Subject: [PATCH 11/33] Fix linking against static freetype2 Subject: [PATCH 11/34] Fix linking against static freetype2
--- ---
src/gui/configure.json | 7 +++++-- src/gui/configure.json | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-) 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 7e9148500b..27f8257c18 100644 index 4ca919c6da..5d524b1d73 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -156,8 +156,11 @@ @@ -158,8 +158,11 @@
] ]
}, },
"sources": [ "sources": [
@ -26,5 +26,5 @@ index 7e9148500b..27f8257c18 100644
}, },
"fontconfig": { "fontconfig": {
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From 38b3a06ebd65bab1765c95537eb8503286e31754 Mon Sep 17 00:00:00 2001 From e05dcf0fb89c0ab64aba0f3a53986daa6a0bed76 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:22:56 +0200 Date: Sun, 18 Sep 2016 14:22:56 +0200
Subject: [PATCH 12/33] Fix linking against static harfbuzz Subject: [PATCH 12/34] Fix linking against static harfbuzz
--- ---
src/gui/configure.json | 6 +++++- src/gui/configure.json | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-) 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 27f8257c18..1a87110831 100644 index 5d524b1d73..78f1b90d37 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -221,7 +221,11 @@ @@ -223,7 +223,11 @@
] ]
}, },
"sources": [ "sources": [
@ -25,5 +25,5 @@ index 27f8257c18..1a87110831 100644
}, },
"imf": { "imf": {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f5a1650b08d90f854b1b8eb12c0e6b9a5c3f5cc4 Mon Sep 17 00:00:00 2001 From 9e7f8734086cc4a2dd7f6e713076af64648802f7 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:24:01 +0200 Date: Sun, 18 Sep 2016 14:24:01 +0200
Subject: [PATCH 13/33] Fix linking against static pcre Subject: [PATCH 13/34] Fix linking against static pcre
Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1 Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
--- ---
@ -9,7 +9,7 @@ Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp
index 88b696f53a..afe444027e 100644 index 86bc99716d..5037ae68a1 100644
--- a/src/corelib/tools/qregularexpression.cpp --- a/src/corelib/tools/qregularexpression.cpp
+++ b/src/corelib/tools/qregularexpression.cpp +++ b/src/corelib/tools/qregularexpression.cpp
@@ -55,6 +55,10 @@ @@ -55,6 +55,10 @@
@ -24,5 +24,5 @@ index 88b696f53a..afe444027e 100644
#include <pcre2.h> #include <pcre2.h>
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From a1d177d63fb62d1bb77225fd90c5eb2883322a26 Mon Sep 17 00:00:00 2001 From 8d8e5c1df2e366ba3c595970813caf98768a140f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:56:55 +0200 Date: Sun, 18 Sep 2016 18:56:55 +0200
Subject: [PATCH 14/33] Fix linking against shared/static MariaDB Subject: [PATCH 14/34] Fix linking against shared/static MariaDB
Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b
--- ---
@ -23,5 +23,5 @@ index 234f880579..4619db4a54 100644
{ "type": "mysqlConfig", "query": "--libs", "cleanlibs": true }, { "type": "mysqlConfig", "query": "--libs", "cleanlibs": true },
{ "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false }, { "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 603ca5161d67e72432128a21478bd623d8b973c2 Mon Sep 17 00:00:00 2001 From fd736054ec03ad328b1e8c4195184f286655040e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:58:25 +0200 Date: Sun, 18 Sep 2016 18:58:25 +0200
Subject: [PATCH 15/33] Fix linking against shared/static PostgreSQL Subject: [PATCH 15/34] Fix linking against shared/static PostgreSQL
--- ---
src/plugins/sqldrivers/configure.json | 5 +++-- src/plugins/sqldrivers/configure.json | 5 +++--
@ -25,5 +25,5 @@ index 4619db4a54..ef0d45f6cc 100644
] ]
}, },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eed57ae8b6b9a2a8a6183751f08f16c9921bf32b Mon Sep 17 00:00:00 2001 From 15f3d49456695caeb91f1e861730883aea04ca5f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:25:40 +0200 Date: Sun, 18 Sep 2016 14:25:40 +0200
Subject: [PATCH 16/33] Rename qtmain to qt5main Subject: [PATCH 16/34] Rename qtmain to qt5main
Prevents conflict with mingw-w64-qt4 package Prevents conflict with mingw-w64-qt4 package
--- ---
@ -52,5 +52,5 @@ index 4140ae48de..9ae73db74b 100644
CONFIG += static CONFIG += static
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From b5a1c1909c58b62705f1ff46adfac40ed26b0f5d Mon Sep 17 00:00:00 2001 From 366c764b927e568c75968ae92ec16caca54c0d31 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:27:28 +0200 Date: Sun, 18 Sep 2016 14:27:28 +0200
Subject: [PATCH 17/33] Build dynamic host libraries Subject: [PATCH 17/34] Build dynamic host libraries
This came initially from Fedora, not sure whether This came initially from Fedora, not sure whether
it makes sense to keep it. Regular Arch package it makes sense to keep it. Regular Arch package
@ -14,7 +14,7 @@ Change-Id: I91a3613955c656fb0d262ccb9b2529350bab032b
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 36f632e8ca..2deec56866 100644 index c0a8dcc251..200fa40840 100644
--- a/mkspecs/features/qt_module.prf --- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf
@@ -24,7 +24,7 @@ requires(!$$skip) @@ -24,7 +24,7 @@ requires(!$$skip)
@ -37,5 +37,5 @@ index c3ed27d979..30d2114aa1 100644
-INSTALLS = lib -INSTALLS = lib
+INSTALLS += lib +INSTALLS += lib
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 7b40a97b618dda07f6e9fdaf28db958c0f5b33fc Mon Sep 17 00:00:00 2001 From b6dfc4016e7f61c1eb178b051387b08219652484 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 17:59:27 +0200 Date: Sun, 18 Sep 2016 17:59:27 +0200
Subject: [PATCH 18/33] Enable rpath for build tools Subject: [PATCH 18/34] Enable rpath for build tools
- Required because various tools depend on libQt5Bootstrap.so which resides - Required because various tools depend on libQt5Bootstrap.so which resides
in folder /usr/${_arch}/lib in folder /usr/${_arch}/lib
@ -33,5 +33,5 @@ index 883f8ca215..786f2e660c 100644
INSTALLS += target INSTALLS += target
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From 25849eed06ade33131bb0dfa2bdb3e890b2e9ee7 Mon Sep 17 00:00:00 2001 From 012d6961a9ffbaeabf1742243b23ee092b915af2 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:04:42 +0200 Date: Sun, 18 Sep 2016 18:04:42 +0200
Subject: [PATCH 19/33] Use system zlib for build tools Subject: [PATCH 19/34] Use system zlib for build tools
--- ---
src/tools/bootstrap/bootstrap.pro | 2 +- src/tools/bootstrap/bootstrap.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro
index 521dd5f0f2..eb8cb4770c 100644 index 042ad7adb9..7e3bc3977a 100644
--- a/src/tools/bootstrap/bootstrap.pro --- a/src/tools/bootstrap/bootstrap.pro
+++ b/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro
@@ -129,7 +129,7 @@ macx { @@ -132,7 +132,7 @@ macx {
../../corelib/io/qstandardpaths_win.cpp ../../corelib/io/qstandardpaths_win.cpp
} }
@ -21,5 +21,5 @@ index 521dd5f0f2..eb8cb4770c 100644
} else { } else {
CONFIG += no_core_dep CONFIG += no_core_dep
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 98a2adad712fb0c23ad2813e1a35a793317461ad Mon Sep 17 00:00:00 2001 From 81a6a9a34e71a08fd5a8b87f44c71803d7f07797 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:20:25 +0200 Date: Sun, 18 Sep 2016 18:20:25 +0200
Subject: [PATCH 20/33] Disable determing default include and lib dirs at qmake Subject: [PATCH 20/34] Disable determing default include and lib dirs at qmake
time when building with mingw-w64 time when building with mingw-w64
--- ---
@ -9,7 +9,7 @@ Subject: [PATCH 20/33] Disable determing default include and lib dirs at qmake
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
index 35175f1744..96afeeca57 100644 index ba41598be1..6416db4d58 100644
--- a/mkspecs/features/toolchain.prf --- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf +++ b/mkspecs/features/toolchain.prf
@@ -31,7 +31,7 @@ isEmpty($${target_prefix}.INCDIRS) { @@ -31,7 +31,7 @@ isEmpty($${target_prefix}.INCDIRS) {
@ -18,9 +18,9 @@ index 35175f1744..96afeeca57 100644
# #
- gcc { - gcc {
+ !win32:gcc { + !win32:gcc {
!equals(QMAKE_HOST.os, Windows) { cmd_suffix = "<$$QMAKE_SYSTEM_NULL_DEVICE >$$QMAKE_SYSTEM_NULL_DEVICE"
cmd_prefix = "LC_ALL=C" equals(QMAKE_HOST.os, Windows): \
cmd_suffix = "</dev/null >/dev/null" cmd_prefix = "set LC_ALL=C&"
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 5cb315e62e7c4114d62767c274952c58ebe88b06 Mon Sep 17 00:00:00 2001 From 834b94ccb1897cd5325557fa6051ef2cb4bb70a0 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:26:18 +0200 Date: Sun, 18 Sep 2016 18:26:18 +0200
Subject: [PATCH 21/33] Use *.dll.a as import lib extension Subject: [PATCH 21/34] Use *.dll.a as import lib extension
The variables used here are provided by The variables used here are provided by
mingw-w64 specific mkspec mingw-w64 specific mkspec
@ -64,5 +64,5 @@ index 737f3abc3a..2e6d5d94a9 100644
+ project->first("QMAKE_EXTENSION_SHLIB")); + project->first("QMAKE_EXTENSION_SHLIB"));
project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET"); project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET");
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 0401a8dd7051a1d6aca6288fd5a5d0bef006168e Mon Sep 17 00:00:00 2001 From 4502d0a9e9102067541a4307e80444a4fb44717c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:45:08 +0200 Date: Sun, 18 Sep 2016 18:45:08 +0200
Subject: [PATCH 22/33] Merge shared and static library trees Subject: [PATCH 22/34] Merge shared and static library trees
Allow installation of shared and static build in the same prefix Allow installation of shared and static build in the same prefix
--- ---
@ -99,7 +99,7 @@ index 51ea3a8321..275e080ae4 100644
QMAKE_EXT_YACC = .y QMAKE_EXT_YACC = .y
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index c7e075b5bc..d61f7b05e5 100644 index 0d07d6c333..5e84628e72 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3163,6 +3163,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir) @@ -3163,6 +3163,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir)
@ -126,5 +126,5 @@ index c7e075b5bc..d61f7b05e5 100644
t << endl; t << endl;
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 6e0b658e5cadf0248954fbbf1b8271d54b9778a2 Mon Sep 17 00:00:00 2001 From f73b460094294c7cd9f9d9cd481fbf1cef5a2a49 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:32:00 +0200 Date: Sun, 18 Sep 2016 18:32:00 +0200
Subject: [PATCH 23/33] Pull dependencies of static libraries in CMake modules Subject: [PATCH 23/34] Pull dependencies of static libraries in CMake modules
When doing a static build of Qt, the dependencies of the Qt When doing a static build of Qt, the dependencies of the Qt
libraries and plugins itself must be specified when linking libraries and plugins itself must be specified when linking
@ -251,7 +251,7 @@ index 5baf0fdb10..ec5f3cc437 100644
+ +
+endif() +endif()
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index d61f7b05e5..2dd26bf4dd 100644 index 5e84628e72..c853d52b27 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -998,6 +998,13 @@ MakefileGenerator::writePrlFile(QTextStream &t) @@ -998,6 +998,13 @@ MakefileGenerator::writePrlFile(QTextStream &t)
@ -269,5 +269,5 @@ index d61f7b05e5..2dd26bf4dd 100644
} }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eec4b8a76d8c5882a5fbd4e6aa85dea696049c23 Mon Sep 17 00:00:00 2001 From 903ed5730e5a25ea6fda815fcd88cc36e3d8639e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sat, 5 Aug 2017 21:14:26 +0200 Date: Sat, 5 Aug 2017 21:14:26 +0200
Subject: [PATCH 24/33] Allow usage of static version with CMake Subject: [PATCH 24/34] Allow usage of static version with CMake
Allow selecting between dynamic and static Qt versions Allow selecting between dynamic and static Qt versions
installed in the same prefix installed in the same prefix
@ -997,5 +997,5 @@ index 2a575958ae..ca0e3be3b5 100644
INTERFACE_COMPILE_DEFINITIONS QT_TESTCASE_BUILDDIR=\\\"\${CMAKE_BINARY_DIR}\\\" INTERFACE_COMPILE_DEFINITIONS QT_TESTCASE_BUILDDIR=\\\"\${CMAKE_BINARY_DIR}\\\"
) )
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 0aac929861fb8d60fbc66f2557e1b9c5022ff9c5 Mon Sep 17 00:00:00 2001 From b3bcf57cfbd152eafa82b9d80183fde0f2bf1f5c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 16:42:07 +0200 Date: Fri, 2 Jun 2017 16:42:07 +0200
Subject: [PATCH 25/33] Adjust linker flags for static build with Subject: [PATCH 25/34] Adjust linker flags for static build with
cmake/mingw-w64 cmake/mingw-w64
Change-Id: I33b88976d8f5ce87ce431a6f422fe87785bf5b8d Change-Id: I33b88976d8f5ce87ce431a6f422fe87785bf5b8d
@ -25,5 +25,5 @@ index ebe6644dfe..687d611b3f 100644
+unset(_isExe) +unset(_isExe)
+!!ENDIF +!!ENDIF
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f2ff6d5023bd834b0110a97a16e085c3914335a7 Mon Sep 17 00:00:00 2001 From 1e31f372966581f19bcbd9a39b29cf3dedfe9c5a Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:50:21 +0200 Date: Sun, 18 Sep 2016 18:50:21 +0200
Subject: [PATCH 26/33] Use correct pkg-config --static flag Subject: [PATCH 26/34] Use correct pkg-config --static flag
--- ---
configure.pri | 3 +++ configure.pri | 3 +++
@ -22,5 +22,5 @@ index a05c3d98e6..8dc874a74d 100644
$$qtConfEvaluate("features.cross_compile") { $$qtConfEvaluate("features.cross_compile") {
# cross compiling, check that pkg-config is set up sanely # cross compiling, check that pkg-config is set up sanely
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 4f332ea7f376d8a77d7dbfe82ab6e5eb6b6f1fe9 Mon Sep 17 00:00:00 2001 From 0f6a4852f4bf5d43aa856f2af475f5f526b76daf Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 4 Dec 2016 20:35:47 +0100 Date: Sun, 4 Dec 2016 20:35:47 +0100
Subject: [PATCH 27/33] Fix macro invoking moc, rcc and uic Subject: [PATCH 27/34] Fix macro invoking moc, rcc and uic
* Otherwise the arguments aren't passed correctly leading to errors like * Otherwise the arguments aren't passed correctly leading to errors like
``` ```
@ -70,5 +70,5 @@ index f5e7b7f050..18d120f0c7 100644
MAIN_DEPENDENCY ${infile} VERBATIM) MAIN_DEPENDENCY ${infile} VERBATIM)
list(APPEND ${outfiles} ${outfile}) list(APPEND ${outfiles} ${outfile})
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From a8039e2f388a3fbd289dc912ae6b6a58beb84f19 Mon Sep 17 00:00:00 2001 From 80964e61f1442f4566b6cb1d4a08231ea5942133 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 20:59:54 +0100 Date: Wed, 25 Jan 2017 20:59:54 +0100
Subject: [PATCH 28/33] Ignore errors about missing feature static Subject: [PATCH 28/34] Ignore errors about missing feature static
Not sure why this error occurs, let's hope for the best Not sure why this error occurs, let's hope for the best
--- ---
@ -10,10 +10,10 @@ Not sure why this error occurs, let's hope for the best
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf
index 150d2b2cc3..d93d24cce5 100644 index 76e1d15319..9a1c5cd8b6 100644
--- a/mkspecs/features/qt_build_config.prf --- a/mkspecs/features/qt_build_config.prf
+++ b/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf
@@ -135,5 +135,5 @@ defineTest(qtConfig) { @@ -138,5 +138,5 @@ defineTest(qtConfig) {
contains(QT.$${module}.disabled_features, $$1): \ contains(QT.$${module}.disabled_features, $$1): \
return(false) return(false)
} }
@ -21,10 +21,10 @@ index 150d2b2cc3..d93d24cce5 100644
+ !equals($$1, "static"): error("Could not find feature $${1}.") + !equals($$1, "static"): error("Could not find feature $${1}.")
} }
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index c00fdb73f8..d4d5599433 100644 index 1903e509c8..1fcb597fa3 100644
--- a/mkspecs/features/qt_functions.prf --- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf
@@ -351,5 +351,5 @@ defineTest(qtConfig) { @@ -348,5 +348,5 @@ defineTest(qtConfig) {
contains(QT.$${module}.disabled_features, $$1): \ contains(QT.$${module}.disabled_features, $$1): \
return(false) return(false)
} }
@ -32,5 +32,5 @@ index c00fdb73f8..d4d5599433 100644
+ !equals($$1, "static"): error("Could not find feature $${1}.") + !equals($$1, "static"): error("Could not find feature $${1}.")
} }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 05738e526362a5c712d8341ada02e557e76579f5 Mon Sep 17 00:00:00 2001 From 3a5569599bd8c5267e41c57917b19e16bba1169c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 21:08:20 +0100 Date: Wed, 25 Jan 2017 21:08:20 +0100
Subject: [PATCH 29/33] Enable and fix use of iconv Subject: [PATCH 29/34] Enable and fix use of iconv
Change-Id: I5f0ab27afca0800dec11c7af74d196190820ae5c Change-Id: I5f0ab27afca0800dec11c7af74d196190820ae5c
--- ---
@ -63,10 +63,10 @@ index d6362b6fbc..4da4546a24 100644
#else #else
char **inBytesPtr = &inBytes; char **inBytesPtr = &inBytes;
diff --git a/src/corelib/configure.json b/src/corelib/configure.json diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index a5b69a2df6..9e3eb4f671 100644 index bf44f2649d..90f0450902 100644
--- a/src/corelib/configure.json --- a/src/corelib/configure.json
+++ b/src/corelib/configure.json +++ b/src/corelib/configure.json
@@ -428,9 +428,9 @@ @@ -521,9 +521,9 @@
}, },
"gnu-libiconv": { "gnu-libiconv": {
"label": "GNU iconv", "label": "GNU iconv",
@ -79,5 +79,5 @@ index a5b69a2df6..9e3eb4f671 100644
}, },
"icu": { "icu": {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f99af5483b8c3d8b511db8476f4d738ff868886c Mon Sep 17 00:00:00 2001 From e9f964d079c6dea6404f01d0d8f1acfa5287ccdc Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 21:08:48 +0100 Date: Wed, 25 Jan 2017 21:08:48 +0100
Subject: [PATCH 30/33] Ignore failing pkg-config test Subject: [PATCH 30/34] Ignore failing pkg-config test
Didn't investigate why it fails, let's hope for the best Didn't investigate why it fails, let's hope for the best
--- ---
@ -9,10 +9,10 @@ Didn't investigate why it fails, let's hope for the best
1 file changed, 1 deletion(-) 1 file changed, 1 deletion(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index 9914bf0487..d5b81d53f5 100644 index d668ce0c98..2d36a60cd3 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -710,7 +710,6 @@ @@ -725,7 +725,6 @@
"pkg-config": { "pkg-config": {
"label": "Using pkg-config", "label": "Using pkg-config",
"autoDetect": "!config.darwin && !config.win32", "autoDetect": "!config.darwin && !config.win32",
@ -21,5 +21,5 @@ index 9914bf0487..d5b81d53f5 100644
"publicFeature", "publicFeature",
{ "type": "publicQtConfig", "negative": true }, { "type": "publicQtConfig", "negative": true },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eadf27b8bd882899a99254578ecb8407a0acab6f Mon Sep 17 00:00:00 2001 From d35384a8d6191d68f8cd2b60a2295f5372d67fa4 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Tue, 7 Feb 2017 18:25:28 +0100 Date: Tue, 7 Feb 2017 18:25:28 +0100
Subject: [PATCH 31/33] Prevent qmake from messing static lib dependencies Subject: [PATCH 31/34] Prevent qmake from messing static lib dependencies
In particular, it messes resolving cyclic dependency between In particular, it messes resolving cyclic dependency between
static freetype2 and harfbuzz static freetype2 and harfbuzz
@ -39,5 +39,5 @@ index 2e6d5d94a9..a8320bae09 100644
static const char * const lflags[] = { "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", 0 }; static const char * const lflags[] = { "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", 0 };
for (int i = 0; lflags[i]; i++) { for (int i = 0; lflags[i]; i++) {
-- --
2.14.2 2.15.1

View File

@ -1,18 +1,16 @@
From f7bb119102d28e22b764cce82ee491e747034247 Mon Sep 17 00:00:00 2001 From aa947be7429528caf04ad7db6f077fe695bcfe82 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 23:42:30 +0100 Date: Wed, 25 Jan 2017 23:42:30 +0100
Subject: [PATCH 32/33] Hardcode linker flags for platform plugins Subject: [PATCH 32/34] Hardcode linker flags for platform plugins
Otherwise incorrect order of libs leads to errors Otherwise incorrect order of libs leads to errors
when building libqminimal.dll, libqoffscreen.dll when building libqminimal.dll, libqoffscreen.dll
and libqwindows.dll and libqwindows.dll
Change-Id: I594ddcc15599c63bb8ac5e998f59c4561a18eb26
--- ---
src/plugins/platforms/minimal/minimal.pro | 15 +++++++++++++-- src/plugins/platforms/minimal/minimal.pro | 15 +++++++++++--
src/plugins/platforms/offscreen/offscreen.pro | 14 ++++++++++++-- src/plugins/platforms/offscreen/offscreen.pro | 14 ++++++++++--
src/plugins/platforms/windows/windows.pro | 19 +++++++++++++++---- src/plugins/platforms/windows/windows.pro | 32 +++++++++++++++++++--------
3 files changed, 40 insertions(+), 8 deletions(-) 3 files changed, 48 insertions(+), 13 deletions(-)
diff --git a/src/plugins/platforms/minimal/minimal.pro b/src/plugins/platforms/minimal/minimal.pro diff --git a/src/plugins/platforms/minimal/minimal.pro b/src/plugins/platforms/minimal/minimal.pro
index 8cfb68824e..46834a71fc 100644 index 8cfb68824e..46834a71fc 100644
@ -66,36 +64,47 @@ index 6652cefd86..a322b17cc5 100644
DEFINES += QT_NO_FOREACH DEFINES += QT_NO_FOREACH
diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro
index 23168c10dc..eb4af726ca 100644 index 174bc7b609..e66488e364 100644
--- a/src/plugins/platforms/windows/windows.pro --- a/src/plugins/platforms/windows/windows.pro
+++ b/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro
@@ -1,11 +1,22 @@ @@ -1,14 +1,28 @@
TARGET = qwindows TARGET = qwindows
QT += \ -QT += \
- core-private gui-private \ - core-private gui-private \
- eventdispatcher_support-private accessibility_support-private \ - eventdispatcher_support-private \
- fontdatabase_support-private theme_support-private - fontdatabase_support-private theme_support-private
+ core-private gui-private -
-qtConfig(accessibility): QT += accessibility_support-private
-qtConfig(vulkan): QT += vulkan_support-private
-
-LIBS += -lgdi32 -ldwmapi -LIBS += -lgdi32 -ldwmapi
+QT += core-private gui-private
+
+# Fix linker error when building libqwindows.dll by specifying linker flags for +# Fix linker error when building libqwindows.dll by specifying linker flags for
+# required modules manually (otherwise order is messed) +# required modules manually (otherwise order is messed)
+LIBS += \ +LIBS += \
+ -lQt5EventDispatcherSupport \ + -lQt5EventDispatcherSupport \
+ -lQt5AccessibilitySupport \
+ -lQt5FontDatabaseSupport \ + -lQt5FontDatabaseSupport \
+ -lQt5ThemeSupport \ + -lQt5ThemeSupport \
+ -lfreetype -lole32 -lgdi32 -ldwmapi + -lfreetype -lole32 -lgdi32 -ldwmapi
+# However, this workaround leads to the necessity of specifying include dirs manually +# However, this workaround leads to the necessity of specifying include dirs manually
+INCLUDEPATH += \ +INCLUDEPATH += \
+ $$QT_SOURCE_TREE/include/QtEventDispatcherSupport/$${QT_VERSION} \ + $$QT_SOURCE_TREE/include/QtEventDispatcherSupport/$${QT_VERSION} \
+ $$QT_SOURCE_TREE/include/QtAccessibilitySupport/$${QT_VERSION} \
+ $$QT_SOURCE_TREE/include/QtFontDatabaseSupport/$${QT_VERSION} \ + $$QT_SOURCE_TREE/include/QtFontDatabaseSupport/$${QT_VERSION} \
+ $$QT_SOURCE_TREE/include/QtThemeSupport/$${QT_VERSION} + $$QT_SOURCE_TREE/include/QtThemeSupport/$${QT_VERSION}
+# Same for private support libs for accessibility and vulkan, if those are enabled
+qtConfig(accessibility) {
+ LIBS += -lQt5AccessibilitySupport
+ INCLUDEPATH += $$QT_SOURCE_TREE/include/QtAccessibilitySupport/$${QT_VERSION}
+}
+qtConfig(vulkan) {
+ LIBS += -lQt5VulkanSupport
+ INCLUDEPATH += $$QT_SOURCE_TREE/include/QtVulkanSupport/$${QT_VERSION}
+}
include(windows.pri) include(windows.pri)
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From b91d3a0690995511d1388b9d9493aed702bd0138 Mon Sep 17 00:00:00 2001 From 7db753e04de6a458fc10124b7e3b12ac5f4d1623 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 25 Aug 2017 17:07:17 +0200 Date: Fri, 25 Aug 2017 17:07:17 +0200
Subject: [PATCH 33/33] Fix linking against static plugins with qmake Subject: [PATCH 33/34] Fix linking against static plugins with qmake
Required because qtConfig(static) does not work Required because qtConfig(static) does not work
with 'Merge shared and static library trees' with 'Merge shared and static library trees'
@ -33,5 +33,5 @@ index afaac3dbc4..82b02b5113 100644
# Check if the plugin is known to Qt. We can use this to determine # Check if the plugin is known to Qt. We can use this to determine
# the plugin path. Unknown plugins must rely on the default link path. # the plugin path. Unknown plugins must rely on the default link path.
-- --
2.14.2 2.15.1

View File

@ -0,0 +1,27 @@
From e8cbf42a882706cce93f46142748d252cb492e1c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sat, 9 Dec 2017 00:36:56 +0100
Subject: [PATCH 34/34] Don't use the statx syscall
Otherwise Qt can not be built in a systemd
container
---
src/corelib/io/qfilesystemengine_unix.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index 77d154c6b4..6036bae4f1 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -95,7 +95,7 @@ static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newp
{ return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
# endif
-# if !QT_CONFIG(statx) && defined(SYS_statx) && QT_HAS_INCLUDE(<linux/stat.h>)
+# if 0
# include <linux/stat.h>
static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf)
{ return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); }
--
2.15.1

View File

@ -84,7 +84,7 @@ isNoOpenGL() {
} }
pkgname=mingw-w64-qt5-base-angle pkgname=mingw-w64-qt5-base-angle
pkgver=5.9.2 pkgver=5.10.0
pkgrel=1 pkgrel=1
pkgdesc='A cross-platform application and UI framework (mingw-w64)' pkgdesc='A cross-platform application and UI framework (mingw-w64)'
# The static variant doesn't contain any executables which need to be executed on the build machine # The static variant doesn't contain any executables which need to be executed on the build machine
@ -92,14 +92,14 @@ isStatic && arch=('any') || arch=('i686' 'x86_64')
url='https://www.qt.io/' url='https://www.qt.io/'
license=('GPL3' 'LGPL3' 'FDL' 'custom') license=('GPL3' 'LGPL3' 'FDL' 'custom')
depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-libjpeg-turbo' 'mingw-w64-sqlite' depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-libjpeg-turbo' 'mingw-w64-sqlite'
'mingw-w64-libpng' 'mingw-w64-openssl-1.0' 'mingw-w64-dbus' 'mingw-w64-harfbuzz' 'mingw-w64-libpng' 'mingw-w64-openssl' 'mingw-w64-dbus' 'mingw-w64-harfbuzz'
'mingw-w64-pcre2') 'mingw-w64-pcre2')
groups=('mingw-w64-qt5') groups=('mingw-w64-qt5')
optdepends=('mingw-w64-postgresql: PostgreSQL support' 'mingw-w64-mariadb-connector-c: MySQL support') optdepends=('mingw-w64-postgresql: PostgreSQL support' 'mingw-w64-mariadb-connector-c: MySQL support')
makedepends=('mingw-w64-gcc' 'mingw-w64-postgresql' 'mingw-w64-mariadb-connector-c' 'mingw-w64-pkg-config') makedepends=('mingw-w64-gcc' 'mingw-w64-postgresql' 'mingw-w64-mariadb-connector-c' 'mingw-w64-pkg-config')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
_pkgfqn="qtbase-opensource-src-${pkgver}" _pkgfqn="qtbase-everywhere-src-${pkgver}"
source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/submodules/${_pkgfqn}.tar.xz" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz"
'0001-Add-profile-for-cross-compilation-with-mingw-w64.patch' '0001-Add-profile-for-cross-compilation-with-mingw-w64.patch'
'0002-Ensure-GLdouble-is-defined-when-using-dynamic-OpenGL.patch' '0002-Ensure-GLdouble-is-defined-when-using-dynamic-OpenGL.patch'
'0003-Use-external-ANGLE-library.patch' '0003-Use-external-ANGLE-library.patch'
@ -132,41 +132,43 @@ source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/sub
'0030-Ignore-failing-pkg-config-test.patch' '0030-Ignore-failing-pkg-config-test.patch'
'0031-Prevent-qmake-from-messing-static-lib-dependencies.patch' '0031-Prevent-qmake-from-messing-static-lib-dependencies.patch'
'0032-Hardcode-linker-flags-for-platform-plugins.patch' '0032-Hardcode-linker-flags-for-platform-plugins.patch'
'0033-Fix-linking-against-static-plugins-with-qmake.patch') '0033-Fix-linking-against-static-plugins-with-qmake.patch'
sha256sums=('7fe2bb468955f633c71b3ddd3c269e68a2c4137a4e5b8dd12dcdb34cbc6d609b' '0034-Don-t-use-the-statx-syscall.patch')
'685fd08e1c4e97bbf6990959cb3dbe88dd3ed494221400dce6aef159d277c34a' sha256sums=('fd5578cd320a13617c12cf2b19439386b203d6d45548e855f94e07be9829f762'
'4e5115e62b952acface29882c5f6423569cd1c439c454e58594b5fb2cb740916' 'd2784f40a1f8f3f7041c94b89702404a21ef2fd1d6c63bbffe14e26321265745'
'0b339563844ccd325486d78711592561996fb256f0612c63b33b6ea52a6fc77e' 'c695a25e6dc0ddd8b1dd07adba6eee518294ffb69b689f373dde861f935c876b'
'18945eb521df54d37922894c9bc82ccd03eb3fd9f6e0aed986facf2b49f336d4' '4a7a855fe8abffe0aa3da450981439a1c26f7f65fe456149f627bccd603ad5b7'
'2c2b5f9b3db02750ae9a9626ea8a24a3516c881c5eaa9b19fb9a2621fc1263fc' '46a42a20a4bed03f9f0b7abd55904be3e560dfd4e10e586d68479a5060ce06e2'
'81559290cc03f7ff6042f28a6eb319882264876076a20e24531641ebe4ef3aee' '70550f6cbe95c5a14ccb7e9ba5fab7cb595a0fc49b889c9ac735cca41148ab5b'
'a3d657ee7f8bfa6c3e5a4aa626710bc27fc82fea3d834098bde2b2f67244d11c' 'fa16872915ce6d24bc217ee7c5e42c3c61e29034f832e32f2971da85eb4f3d08'
'3df9bf81a936c737cc7ca53bdea9cfd2a4010fa190fe3e1a45611097d8213ef4' '19b01e55dd3eb311c182d2ef682f15a2739556d5585d9e19de633e92dba9a788'
'5aac41daaf223726d31ab5a7aec0bdc050aa182522ca732cc31c3b5ac8cd28dc' 'e13936a6f7d17a6c38c95e9cc9e19209a3d03970cf5157931f309edf45530132'
'6844b7106e636d513b077edeba318990641b1ee294f2a70739830e3d0a9b0d02' '978a2f5a53c0fe50780a12c09bbc81ee8efe60d1437425b08b3c5b4a4edb217c'
'12b51c32069270e49e05e64b0f54d6e3e871523660fd17673e0ee6e67206955e' '8ffb5f68ebe09e99580d45c1279dc39ef811d0de7e4d363173af3be2cf3c9ee8'
'4baa73f8b3d61b503a9de1437bdc9f7f84cd2443280afc1461456ae34d222e9b' '305f18d1b011033fbb12ca544d3af47cb45a1b6d324bf68b671cb007dc2a8a0a'
'e34eec672f9f681302edd809cbcb7d6848a310a02acc5711e2e348aab1b8d74c' '53fb05efee9c024643cd607c623eda745a122cddc2880d6554b3168778942316'
'd70f44c06a7bae6fbd91022ec79f09e2d658969aa5a6602bff6eb61076801b6e' '927188133dc2708345f7c831e1253b59338a9554b544c1d2cfdf02493b92573f'
'f705fcfe1f552536318c2c63d59e5ec95640321d9f1fff1016a34d1bc862c9df' '125f0b758bf2088589a31ced00146dc2cce28fa93bdd84684857ae60850c96b8'
'60034cce435d3eca60906e4af2f1ad55edd12b4e95ccc9905e793bc7b9d66917' '016c3a2980060365dd7e83a001f274b6a7f736af2519fa7c5263b0def10e2703'
'295c307f6b075b0c20b7d714b6ecff1bc25927b80dd60d725052b4bc05d1b055' '48930971f0ce225795bd0b6292c4e3ad27843ec0c95113b95be44274435b6623'
'37c2d0bce780a15e7bdb477324936b1ae0ebe576c64d3a713a9086586518d50a' 'a6f8e6111b6960b86b347c3927251f41c8fa235aabf90e89965063326c7cedd3'
'36b6a2e1d2bf478746e931da5223dcfeffc5eda513b64596ffbbd663fd5e63e7' 'a57e452177fd1aa7f0d22b1a83f29dd18010dfef7b007157a7dc8d6399232471'
'e1b45c50ca09b065f218442a1fc3ddf3c8de1357a818925497fe0e3e7c28cacd' '07b1ab8b25a02e1ed369017178847081afe937817e71384dfb17ab56ff278a0e'
'03feabae42553a6960c2a257eb951d956fe31a9a4440a92b373e8a0d6cb301ff' '2b426ab2aa774110c2b628c4987748520925e7ebfda2f524407cdc606315696b'
'1ec8a7ebaf5e400aca7a0abe8cee78d0dae6b662c30bf245b81814cfcd048dd3' 'a78df9e2a5f3da89f944328a217ae5dd75fabd37f5b5c9ebc8eb75678f31910a'
'bc2f049471853a6bb2e83de3c2691a4206d55c7fe018bb7910215e9968759082' '8470c121a04702b1a0ef4f52d310e69906bab0c066fcb6c7601bcb678655b959'
'8611ac15ee36b803b5095466509c57d45532ab017d61513f2be7b34d5c13da0f' 'ac09e38e4f555e5bae1bc0f01b70a67624b15ecf5affc06d85eaccbc85f3c1da'
'f999f20131f0180439b59320ab350a284b169e5ee5e21379fa74dc07d4aeda25' '0c1939eff41143bc78a6bf6e8b51515f4ba68337b9723674e6e7ab696167edae'
'd9fed680c0313c89458361ac253a5710379fa8022c7c24b05d2807ecaf4f803a' 'ed64b7a36a01d30bc9d35fed47186f9161e5ceba7dd92da7c60d288026fa8856'
'd263509d7951f12d9ccfa841cd7f205aebc7b9db28913925b65a23e627258023' '3f42240d83d09c62b8a7d9a98fe2d6a9d9fcf8ba6b5ff3d303a941411ef7d1a4'
'092176255153bae63f779833d25e5f64a2c489a1b6f33e8e158ff59629916b36' 'd44bdc6363d1e5e1cbcdb5b61e0a788a38368ab3090746c165981bd0a5eb0854'
'65023b59b41797281876b5fcd8cb1542ad790b9b6f83125b6b0aa1e02d9de4fb' '15c0691f6fd058bf70be79b221ab4ace66cc574728b68d9f15bafe1877f46266'
'3d5202be8837bccab4dedc9b6f10b3722ca57ea8b663e08b55d0235381397508' '05aec6b0c2d9add0e4181246b52096d4cf2f4176f4c0e9f467d5244492844c28'
'4df4c2ad348c13a3b82c3a9b127464492898379a82dfd6db9d3ff9d051a08dab' 'ed1237884607a368190cb1ac4de2a12f00e54ecfcea901c7f1980ac37b94b57b'
'cfa48754bef9f7a95f1350c0c1ec1699c9dc413013ef78d218206f5d60335823' '4a83eb1549be9477bc002a6b939e24a6f1b6fd14bfcc804235771d484762aa3e'
'135123e630efdbeb6d4edc9bc200754f2c881760652fe5152f0903ae238ce2c9') 'a100076b67008b64f73fd4fd4b131e1774b84b24b61198cabecdb5916d634887'
'fe9ecf6e82b64b3a955f688d51c87ca82a4aa4ad59e419c7c284ce18b72e223c'
'cbc0e2570ca5b52681d99ab15e7a7a79a286e498203d34c2d67493a78dd6b84d')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32' _architectures='i686-w64-mingw32 x86_64-w64-mingw32'
@ -232,8 +234,6 @@ build() {
unset PKG_CONFIG_PATH unset PKG_CONFIG_PATH
for _arch in ${_architectures}; do for _arch in ${_architectures}; do
echo "INCLUDEPATH += /usr/${_arch}/include/openssl-1.0" >> src/network/network.pro
# To prevent conflicts with the mingw-w64-qt4 package we have # To prevent conflicts with the mingw-w64-qt4 package we have
# to put tools in a dedicated folder # to put tools in a dedicated folder
@ -314,22 +314,26 @@ build() {
# Fix MariaDB # Fix MariaDB
qt_configure_args+=" -I/usr/${_arch}/include/mariadb" qt_configure_args+=" -I/usr/${_arch}/include/mariadb"
msg2 'Configure and build qmake'
mkdir -p ../build-${_arch} && pushd ../build-${_arch} mkdir -p ../build-${_arch} && pushd ../build-${_arch}
if isStatic; then if isStatic; then
export OPENSSL_LIBS="/usr/${_arch}/lib/openssl-1.0/libssl.a /usr/${_arch}/lib/openssl-1.0/libcrypto.a -lws2_32 -lgdi32 -lcrypt32" export OPENSSL_LIBS="/usr/${_arch}/lib/libssl.a /usr/${_arch}/lib/libcrypto.a -lws2_32 -lgdi32 -lcrypt32"
../${_pkgfqn}/configure \ ../${_pkgfqn}/configure \
$qt_configure_args \ $qt_configure_args \
-static \ -static \
-openssl-linked -openssl-linked
msg2 'Build static Qt libraries'
make make
else else
# The LD_LIBRARY_PATH override is needed because libQt5Bootstrap* are shared # The LD_LIBRARY_PATH override is needed because libQt5Bootstrap* are shared
# libraries which various compiled tools (like moc) use. As the libQt5Bootstrap* # libraries which various compiled tools (like moc) use. As the libQt5Bootstrap*
# libraries aren't installed at this point yet, we have to workaround this # libraries aren't installed at this point yet, we have to workaround this
../${_pkgfqn}/configure $qt_configure_args \ ../${_pkgfqn}/configure \
$qt_configure_args \
-shared \ -shared \
-openssl-runtime \ -openssl-runtime \
-device-option 'CROSS_COMPILE_CUSTOM_CONFIG=actually_a_shared_build' -device-option 'CROSS_COMPILE_CUSTOM_CONFIG=actually_a_shared_build'
msg2 'Build shared Qt libraries'
LD_LIBRARY_PATH="$PWD/lib" LDFLAGS="-L$PWD/lib" make LD_LIBRARY_PATH="$PWD/lib" LDFLAGS="-L$PWD/lib" make
fi fi
popd popd
@ -351,6 +355,7 @@ package() {
"${pkgdir}/usr/${_arch}/lib/"{lib,}qt5main* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}qt5main* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5AccessibilitySupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5AccessibilitySupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5DeviceDiscoverySupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5DeviceDiscoverySupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5EdidSupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5EventDispatcherSupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5EventDispatcherSupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FbSupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FbSupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FontDatabaseSupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FontDatabaseSupport* \

View File

@ -1,7 +1,7 @@
From 76b918b0c930c9c4c704f4ce947822e30c1bf1ec Mon Sep 17 00:00:00 2001 From af6803389ebba50abfe7ad299bbf99c9c8d1a8aa Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 18:30:51 +0100 Date: Fri, 3 Feb 2017 18:30:51 +0100
Subject: [PATCH 01/33] Add profile for cross compilation with mingw-w64 Subject: [PATCH 01/34] Add profile for cross compilation with mingw-w64
--- ---
mkspecs/mingw-w64-g++/qmake.conf | 126 +++++++++++++++++++++++++++ mkspecs/mingw-w64-g++/qmake.conf | 126 +++++++++++++++++++++++++++
@ -12,7 +12,7 @@ Subject: [PATCH 01/33] Add profile for cross compilation with mingw-w64
diff --git a/mkspecs/mingw-w64-g++/qmake.conf b/mkspecs/mingw-w64-g++/qmake.conf diff --git a/mkspecs/mingw-w64-g++/qmake.conf b/mkspecs/mingw-w64-g++/qmake.conf
new file mode 100644 new file mode 100644
index 0000000000..c929483fcd index 0000000000..0979611a53
--- /dev/null --- /dev/null
+++ b/mkspecs/mingw-w64-g++/qmake.conf +++ b/mkspecs/mingw-w64-g++/qmake.conf
@@ -0,0 +1,126 @@ @@ -0,0 +1,126 @@
@ -133,7 +133,7 @@ index 0000000000..c929483fcd
+ $$system($${QMAKE_PKG_CONFIG} --static --libs harfbuzz) \ + $$system($${QMAKE_PKG_CONFIG} --static --libs harfbuzz) \
+ $$system($${QMAKE_PKG_CONFIG} --static --libs freetype2) + $$system($${QMAKE_PKG_CONFIG} --static --libs freetype2)
+QMAKE_LIBS_NETWORK = -lws2_32 -lcrypt32 -ldnsapi +QMAKE_LIBS_NETWORK = -lws2_32 -lcrypt32 -ldnsapi
+QMAKE_LIBS_NETWORK_STATIC = $${CROSS_COMPILE_PREFIX}/lib/openssl-1.0/libssl.a $${CROSS_COMPILE_PREFIX}/lib/openssl-1.0/libcrypto.a -lgdi32 +QMAKE_LIBS_NETWORK_STATIC = $$system($${QMAKE_PKG_CONFIG} --static --libs openssl) -ldnsapi
+QMAKE_LIBS_DBUS = $$system($${QMAKE_PKG_CONFIG} --static --libs dbus-1) +QMAKE_LIBS_DBUS = $$system($${QMAKE_PKG_CONFIG} --static --libs dbus-1)
+QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32 +QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32
+QMAKE_LIBS_OPENGL_ES2 = -l$${LIBEGL_NAME} -l$${LIBGLESV2_NAME} -ld3d9 -ldxguid -lgdi32 -luser32 +QMAKE_LIBS_OPENGL_ES2 = -l$${LIBEGL_NAME} -l$${LIBGLESV2_NAME} -ld3d9 -ldxguid -lgdi32 -luser32
@ -304,5 +304,5 @@ index 0000000000..c5a70b1445
+ +
+#endif // QPLATFORMDEFS_H +#endif // QPLATFORMDEFS_H
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 31fa3e1192849fb5460b346a3fc1f91fe1431f8e Mon Sep 17 00:00:00 2001 From b8e324aa1716e50bdb66772bab2442e5b7c7afe8 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:36:53 +0200 Date: Sun, 18 Sep 2016 13:36:53 +0200
Subject: [PATCH 02/33] Ensure GLdouble is defined when using dynamic OpenGL Subject: [PATCH 02/34] Ensure GLdouble is defined when using dynamic OpenGL
FIXME: Not sure whether this is still required FIXME: Not sure whether this is still required
--- ---
@ -23,5 +23,5 @@ index 0a5de2c9af..35798a2a28 100644
#ifdef Q_ENABLE_OPENGL_FUNCTIONS_DEBUG #ifdef Q_ENABLE_OPENGL_FUNCTIONS_DEBUG
#include <stdio.h> #include <stdio.h>
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 00b0e801caf246047f3ea18bead0ffc7c7631dad Mon Sep 17 00:00:00 2001 From 036909a4c082a17bee90c451842ebaee896e1893 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:41:38 +0200 Date: Sun, 18 Sep 2016 13:41:38 +0200
Subject: [PATCH 03/33] Use external ANGLE library Subject: [PATCH 03/34] Use external ANGLE library
--- ---
src/gui/Qt5GuiConfigExtras.cmake.in | 4 ++-- src/gui/Qt5GuiConfigExtras.cmake.in | 4 ++--
@ -28,7 +28,7 @@ index 07869efd7d..2e32911a64 100644
_qt5_Gui_check_file_exists(${Qt5Gui_EGL_INCLUDE_DIRS}) _qt5_Gui_check_file_exists(${Qt5Gui_EGL_INCLUDE_DIRS})
diff --git a/src/gui/gui.pro b/src/gui/gui.pro diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index f7d077e656..b7fc6fadaf 100644 index f8cec00b82..d09c9fd49c 100644
--- a/src/gui/gui.pro --- a/src/gui/gui.pro
+++ b/src/gui/gui.pro +++ b/src/gui/gui.pro
@@ -18,12 +18,6 @@ MODULE_PLUGIN_TYPES = \ @@ -18,12 +18,6 @@ MODULE_PLUGIN_TYPES = \
@ -66,7 +66,7 @@ index 016db46405..02f1204f0f 100644
HEADERS += qgl.h \ HEADERS += qgl.h \
qgl_p.h \ qgl_p.h \
diff --git a/src/plugins/platforms/windows/windows.pri b/src/plugins/platforms/windows/windows.pri diff --git a/src/plugins/platforms/windows/windows.pri b/src/plugins/platforms/windows/windows.pri
index 6d01d05fcc..181ac2cb3b 100644 index b7790a66e3..046fe34a06 100644
--- a/src/plugins/platforms/windows/windows.pri --- a/src/plugins/platforms/windows/windows.pri
+++ b/src/plugins/platforms/windows/windows.pri +++ b/src/plugins/platforms/windows/windows.pri
@@ -4,6 +4,7 @@ LIBS += -lole32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32 @@ -4,6 +4,7 @@ LIBS += -lole32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32
@ -78,10 +78,10 @@ index 6d01d05fcc..181ac2cb3b 100644
mingw: LIBS *= -luuid mingw: LIBS *= -luuid
# For the dialog helpers: # For the dialog helpers:
diff --git a/src/src.pro b/src/src.pro diff --git a/src/src.pro b/src/src.pro
index 43fc06f2e5..4188d4ea6b 100644 index a2064b1362..b9ba606b03 100644
--- a/src/src.pro --- a/src/src.pro
+++ b/src/src.pro +++ b/src/src.pro
@@ -175,10 +175,6 @@ qtConfig(gui) { @@ -180,10 +180,6 @@ qtConfig(gui) {
SUBDIRS += src_3rdparty_harfbuzzng SUBDIRS += src_3rdparty_harfbuzzng
src_gui.depends += src_3rdparty_harfbuzzng src_gui.depends += src_3rdparty_harfbuzzng
} }
@ -93,5 +93,5 @@ index 43fc06f2e5..4188d4ea6b 100644
SUBDIRS += src_3rdparty_libpng SUBDIRS += src_3rdparty_libpng
src_3rdparty_freetype.depends += src_3rdparty_libpng src_3rdparty_freetype.depends += src_3rdparty_libpng
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 6f9daffcc9b83acbcae94ced0708f6f96f2e99c4 Mon Sep 17 00:00:00 2001 From d67f33383fde286f9c8e77bbd686a5c335473645 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:48:51 +0200 Date: Sun, 18 Sep 2016 13:48:51 +0200
Subject: [PATCH 04/33] Fix too many sections assemler error in OpenGL factory Subject: [PATCH 04/34] Fix too many sections assemler error in OpenGL factory
On x86_64 qopenglversionfunctionsfactory.o exceeds the On x86_64 qopenglversionfunctionsfactory.o exceeds the
limit of 32768 sections. limit of 32768 sections.
@ -25,5 +25,5 @@ index 4c778b184e..1dd1755d7f 100644
HEADERS += opengl/qopengl.h \ HEADERS += opengl/qopengl.h \
opengl/qopengl_p.h \ opengl/qopengl_p.h \
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 198b5f7e944f21a7f9caaeb686afddfc9e87c768 Mon Sep 17 00:00:00 2001 From 1c595c81473d93a87b339df137820624cafdc373 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:54:12 +0200 Date: Sun, 18 Sep 2016 13:54:12 +0200
Subject: [PATCH 05/33] Make sure *.pc files are installed correctly Subject: [PATCH 05/34] Make sure *.pc files are installed correctly
--- ---
qmake/generators/makefile.cpp | 8 ++++++-- qmake/generators/makefile.cpp | 8 ++++++--
@ -10,7 +10,7 @@ Subject: [PATCH 05/33] Make sure *.pc files are installed correctly
3 files changed, 8 insertions(+), 4 deletions(-) 3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index a1f3352aa3..0be4b1ef01 100644 index 82573347b6..b9871ff49c 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3146,7 +3146,7 @@ MakefileGenerator::openOutput(QFile &file, const QString &build) const @@ -3146,7 +3146,7 @@ MakefileGenerator::openOutput(QFile &file, const QString &build) const
@ -62,5 +62,5 @@ index 75bb5d236d..737f3abc3a 100644
uninst.append("\n\t"); uninst.append("\n\t");
uninst.append("-$(DEL_FILE) " + escapeFilePath(dst_pc)); uninst.append("-$(DEL_FILE) " + escapeFilePath(dst_pc));
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 5731914d9e5d8a026901e5bbab3f3ee1b3ea50f3 Mon Sep 17 00:00:00 2001 From 50b56803c962a656211021e50cd3e7df57722726 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:58:28 +0200 Date: Sun, 18 Sep 2016 13:58:28 +0200
Subject: [PATCH 06/33] Don't add resource files to LIBS parameter Subject: [PATCH 06/34] Don't add resource files to LIBS parameter
Solves an issue where the generated pkg-config Solves an issue where the generated pkg-config
files contained invalid Libs.private references files contained invalid Libs.private references
@ -11,10 +11,10 @@ like .obj/debug/Qt5Cored_resource_res.o
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index bad53dc5b7..c730d641b2 100644 index 792ffb1997..faf8b5a275 100644
--- a/qmake/generators/win32/mingw_make.cpp --- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp
@@ -202,7 +202,7 @@ void MingwMakefileGenerator::init() @@ -196,7 +196,7 @@ void MingwMakefileGenerator::init()
processVars(); processVars();
@ -24,5 +24,5 @@ index bad53dc5b7..c730d641b2 100644
if (project->isActiveConfig("dll")) { if (project->isActiveConfig("dll")) {
QString destDir = ""; QString destDir = "";
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 285b5fee5b5ada6cd82ddaf33eb9c1a05b564bc6 Mon Sep 17 00:00:00 2001 From b02e8af19e3d94f9c39bbcaf94e91ab6dc6ca3f8 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:01:14 +0200 Date: Sun, 18 Sep 2016 14:01:14 +0200
Subject: [PATCH 07/33] Prevent debug library names in pkg-config files Subject: [PATCH 07/34] Prevent debug library names in pkg-config files
qmake generates the pkgconfig .pc files two times, once for the qmake generates the pkgconfig .pc files two times, once for the
release build and once for the debug build (which we're not actually release build and once for the debug build (which we're not actually
@ -15,7 +15,7 @@ files for the debug build an unique file name.
1 file changed, 3 insertions(+) 1 file changed, 3 insertions(+)
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 0be4b1ef01..c7e075b5bc 100644 index b9871ff49c..0d07d6c333 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3160,6 +3160,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir) @@ -3160,6 +3160,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir)
@ -29,5 +29,5 @@ index 0be4b1ef01..c7e075b5bc 100644
QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString(); QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString();
if(!subdir.isEmpty()) { if(!subdir.isEmpty()) {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 1ee8c85cd86ca49c2d43d81af0c57eb49b877372 Mon Sep 17 00:00:00 2001 From e48d371cf5b0b98f91fca0fe38a5dd0479fcdfca Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Thu, 26 Jan 2017 17:51:31 +0100 Date: Thu, 26 Jan 2017 17:51:31 +0100
Subject: [PATCH 08/33] Fix linking against shared/static libpng Subject: [PATCH 08/34] Fix linking against shared/static libpng
Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf
--- ---
@ -9,10 +9,10 @@ Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 28c8034c75..7e9148500b 100644 index 0a591e110c..4ca919c6da 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -294,7 +294,8 @@ @@ -296,7 +296,8 @@
"sources": [ "sources": [
{ "type": "pkgConfig", "args": "libpng" }, { "type": "pkgConfig", "args": "libpng" },
{ "libs": "-llibpng", "condition": "config.msvc" }, { "libs": "-llibpng", "condition": "config.msvc" },
@ -23,5 +23,5 @@ index 28c8034c75..7e9148500b 100644
"use": [ "use": [
{ "lib": "zlib", "condition": "features.system-zlib" } { "lib": "zlib", "condition": "features.system-zlib" }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 3e04b4a701a7dde06f5ea046198ac5646b644e86 Mon Sep 17 00:00:00 2001 From 6785fbf99c08ef26967bcd064941b7bd692afb41 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 19:36:25 +0100 Date: Fri, 3 Feb 2017 19:36:25 +0100
Subject: [PATCH 09/33] Fix linking against static D-Bus Subject: [PATCH 09/34] Fix linking against static D-Bus
--- ---
configure.json | 9 +++++++-- configure.json | 9 +++++++--
@ -9,7 +9,7 @@ Subject: [PATCH 09/33] Fix linking against static D-Bus
2 files changed, 11 insertions(+), 2 deletions(-) 2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index a91456aaf3..55c56369ba 100644 index 26e1572f32..108619634c 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -171,18 +171,23 @@ @@ -171,18 +171,23 @@
@ -54,5 +54,5 @@ index cfc0e12046..65f1397cd6 100644
# include <dbus/dbus.h> # include <dbus/dbus.h>
#else #else
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 28750e29ab3549300823ff8af3c2064479e71c95 Mon Sep 17 00:00:00 2001 From 94ba6e5a623a81ee02f6b7a46b7e82f4ea505f4f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 18:28:10 +0200 Date: Fri, 2 Jun 2017 18:28:10 +0200
Subject: [PATCH 10/33] Don't try to use debug version of D-Bus library Subject: [PATCH 10/34] Don't try to use debug version of D-Bus library
Required for a debug build of Qt because mingw-w64-dbus Required for a debug build of Qt because mingw-w64-dbus
does not contain debug version does not contain debug version
@ -12,7 +12,7 @@ Change-Id: Ic34e1025fda55f9659e065f5bbe9d51f55420adb
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index 55c56369ba..9914bf0487 100644 index 108619634c..d668ce0c98 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -184,7 +184,7 @@ @@ -184,7 +184,7 @@
@ -25,5 +25,5 @@ index 55c56369ba..9914bf0487 100644
}, },
"condition": "config.win32 && features.shared" "condition": "config.win32 && features.shared"
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From e7e7c7500e07d5d1eaa69550ac6c760e55e857a4 Mon Sep 17 00:00:00 2001 From 6e4e751d6f39c6869cacb6d4148f5358f58bb54e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 20:51:19 +0100 Date: Fri, 3 Feb 2017 20:51:19 +0100
Subject: [PATCH 11/33] Fix linking against static freetype2 Subject: [PATCH 11/34] Fix linking against static freetype2
--- ---
src/gui/configure.json | 7 +++++-- src/gui/configure.json | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-) 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 7e9148500b..27f8257c18 100644 index 4ca919c6da..5d524b1d73 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -156,8 +156,11 @@ @@ -158,8 +158,11 @@
] ]
}, },
"sources": [ "sources": [
@ -26,5 +26,5 @@ index 7e9148500b..27f8257c18 100644
}, },
"fontconfig": { "fontconfig": {
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From 38b3a06ebd65bab1765c95537eb8503286e31754 Mon Sep 17 00:00:00 2001 From e05dcf0fb89c0ab64aba0f3a53986daa6a0bed76 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:22:56 +0200 Date: Sun, 18 Sep 2016 14:22:56 +0200
Subject: [PATCH 12/33] Fix linking against static harfbuzz Subject: [PATCH 12/34] Fix linking against static harfbuzz
--- ---
src/gui/configure.json | 6 +++++- src/gui/configure.json | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-) 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 27f8257c18..1a87110831 100644 index 5d524b1d73..78f1b90d37 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -221,7 +221,11 @@ @@ -223,7 +223,11 @@
] ]
}, },
"sources": [ "sources": [
@ -25,5 +25,5 @@ index 27f8257c18..1a87110831 100644
}, },
"imf": { "imf": {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f5a1650b08d90f854b1b8eb12c0e6b9a5c3f5cc4 Mon Sep 17 00:00:00 2001 From 9e7f8734086cc4a2dd7f6e713076af64648802f7 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:24:01 +0200 Date: Sun, 18 Sep 2016 14:24:01 +0200
Subject: [PATCH 13/33] Fix linking against static pcre Subject: [PATCH 13/34] Fix linking against static pcre
Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1 Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
--- ---
@ -9,7 +9,7 @@ Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp
index 88b696f53a..afe444027e 100644 index 86bc99716d..5037ae68a1 100644
--- a/src/corelib/tools/qregularexpression.cpp --- a/src/corelib/tools/qregularexpression.cpp
+++ b/src/corelib/tools/qregularexpression.cpp +++ b/src/corelib/tools/qregularexpression.cpp
@@ -55,6 +55,10 @@ @@ -55,6 +55,10 @@
@ -24,5 +24,5 @@ index 88b696f53a..afe444027e 100644
#include <pcre2.h> #include <pcre2.h>
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From a1d177d63fb62d1bb77225fd90c5eb2883322a26 Mon Sep 17 00:00:00 2001 From 8d8e5c1df2e366ba3c595970813caf98768a140f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:56:55 +0200 Date: Sun, 18 Sep 2016 18:56:55 +0200
Subject: [PATCH 14/33] Fix linking against shared/static MariaDB Subject: [PATCH 14/34] Fix linking against shared/static MariaDB
Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b
--- ---
@ -23,5 +23,5 @@ index 234f880579..4619db4a54 100644
{ "type": "mysqlConfig", "query": "--libs", "cleanlibs": true }, { "type": "mysqlConfig", "query": "--libs", "cleanlibs": true },
{ "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false }, { "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 603ca5161d67e72432128a21478bd623d8b973c2 Mon Sep 17 00:00:00 2001 From fd736054ec03ad328b1e8c4195184f286655040e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:58:25 +0200 Date: Sun, 18 Sep 2016 18:58:25 +0200
Subject: [PATCH 15/33] Fix linking against shared/static PostgreSQL Subject: [PATCH 15/34] Fix linking against shared/static PostgreSQL
--- ---
src/plugins/sqldrivers/configure.json | 5 +++-- src/plugins/sqldrivers/configure.json | 5 +++--
@ -25,5 +25,5 @@ index 4619db4a54..ef0d45f6cc 100644
] ]
}, },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eed57ae8b6b9a2a8a6183751f08f16c9921bf32b Mon Sep 17 00:00:00 2001 From 15f3d49456695caeb91f1e861730883aea04ca5f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:25:40 +0200 Date: Sun, 18 Sep 2016 14:25:40 +0200
Subject: [PATCH 16/33] Rename qtmain to qt5main Subject: [PATCH 16/34] Rename qtmain to qt5main
Prevents conflict with mingw-w64-qt4 package Prevents conflict with mingw-w64-qt4 package
--- ---
@ -52,5 +52,5 @@ index 4140ae48de..9ae73db74b 100644
CONFIG += static CONFIG += static
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From b5a1c1909c58b62705f1ff46adfac40ed26b0f5d Mon Sep 17 00:00:00 2001 From 366c764b927e568c75968ae92ec16caca54c0d31 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:27:28 +0200 Date: Sun, 18 Sep 2016 14:27:28 +0200
Subject: [PATCH 17/33] Build dynamic host libraries Subject: [PATCH 17/34] Build dynamic host libraries
This came initially from Fedora, not sure whether This came initially from Fedora, not sure whether
it makes sense to keep it. Regular Arch package it makes sense to keep it. Regular Arch package
@ -14,7 +14,7 @@ Change-Id: I91a3613955c656fb0d262ccb9b2529350bab032b
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 36f632e8ca..2deec56866 100644 index c0a8dcc251..200fa40840 100644
--- a/mkspecs/features/qt_module.prf --- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf
@@ -24,7 +24,7 @@ requires(!$$skip) @@ -24,7 +24,7 @@ requires(!$$skip)
@ -37,5 +37,5 @@ index c3ed27d979..30d2114aa1 100644
-INSTALLS = lib -INSTALLS = lib
+INSTALLS += lib +INSTALLS += lib
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 7b40a97b618dda07f6e9fdaf28db958c0f5b33fc Mon Sep 17 00:00:00 2001 From b6dfc4016e7f61c1eb178b051387b08219652484 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 17:59:27 +0200 Date: Sun, 18 Sep 2016 17:59:27 +0200
Subject: [PATCH 18/33] Enable rpath for build tools Subject: [PATCH 18/34] Enable rpath for build tools
- Required because various tools depend on libQt5Bootstrap.so which resides - Required because various tools depend on libQt5Bootstrap.so which resides
in folder /usr/${_arch}/lib in folder /usr/${_arch}/lib
@ -33,5 +33,5 @@ index 883f8ca215..786f2e660c 100644
INSTALLS += target INSTALLS += target
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From 25849eed06ade33131bb0dfa2bdb3e890b2e9ee7 Mon Sep 17 00:00:00 2001 From 012d6961a9ffbaeabf1742243b23ee092b915af2 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:04:42 +0200 Date: Sun, 18 Sep 2016 18:04:42 +0200
Subject: [PATCH 19/33] Use system zlib for build tools Subject: [PATCH 19/34] Use system zlib for build tools
--- ---
src/tools/bootstrap/bootstrap.pro | 2 +- src/tools/bootstrap/bootstrap.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro
index 521dd5f0f2..eb8cb4770c 100644 index 042ad7adb9..7e3bc3977a 100644
--- a/src/tools/bootstrap/bootstrap.pro --- a/src/tools/bootstrap/bootstrap.pro
+++ b/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro
@@ -129,7 +129,7 @@ macx { @@ -132,7 +132,7 @@ macx {
../../corelib/io/qstandardpaths_win.cpp ../../corelib/io/qstandardpaths_win.cpp
} }
@ -21,5 +21,5 @@ index 521dd5f0f2..eb8cb4770c 100644
} else { } else {
CONFIG += no_core_dep CONFIG += no_core_dep
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 98a2adad712fb0c23ad2813e1a35a793317461ad Mon Sep 17 00:00:00 2001 From 81a6a9a34e71a08fd5a8b87f44c71803d7f07797 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:20:25 +0200 Date: Sun, 18 Sep 2016 18:20:25 +0200
Subject: [PATCH 20/33] Disable determing default include and lib dirs at qmake Subject: [PATCH 20/34] Disable determing default include and lib dirs at qmake
time when building with mingw-w64 time when building with mingw-w64
--- ---
@ -9,7 +9,7 @@ Subject: [PATCH 20/33] Disable determing default include and lib dirs at qmake
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
index 35175f1744..96afeeca57 100644 index ba41598be1..6416db4d58 100644
--- a/mkspecs/features/toolchain.prf --- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf +++ b/mkspecs/features/toolchain.prf
@@ -31,7 +31,7 @@ isEmpty($${target_prefix}.INCDIRS) { @@ -31,7 +31,7 @@ isEmpty($${target_prefix}.INCDIRS) {
@ -18,9 +18,9 @@ index 35175f1744..96afeeca57 100644
# #
- gcc { - gcc {
+ !win32:gcc { + !win32:gcc {
!equals(QMAKE_HOST.os, Windows) { cmd_suffix = "<$$QMAKE_SYSTEM_NULL_DEVICE >$$QMAKE_SYSTEM_NULL_DEVICE"
cmd_prefix = "LC_ALL=C" equals(QMAKE_HOST.os, Windows): \
cmd_suffix = "</dev/null >/dev/null" cmd_prefix = "set LC_ALL=C&"
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 5cb315e62e7c4114d62767c274952c58ebe88b06 Mon Sep 17 00:00:00 2001 From 834b94ccb1897cd5325557fa6051ef2cb4bb70a0 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:26:18 +0200 Date: Sun, 18 Sep 2016 18:26:18 +0200
Subject: [PATCH 21/33] Use *.dll.a as import lib extension Subject: [PATCH 21/34] Use *.dll.a as import lib extension
The variables used here are provided by The variables used here are provided by
mingw-w64 specific mkspec mingw-w64 specific mkspec
@ -64,5 +64,5 @@ index 737f3abc3a..2e6d5d94a9 100644
+ project->first("QMAKE_EXTENSION_SHLIB")); + project->first("QMAKE_EXTENSION_SHLIB"));
project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET"); project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET");
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 0401a8dd7051a1d6aca6288fd5a5d0bef006168e Mon Sep 17 00:00:00 2001 From 4502d0a9e9102067541a4307e80444a4fb44717c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:45:08 +0200 Date: Sun, 18 Sep 2016 18:45:08 +0200
Subject: [PATCH 22/33] Merge shared and static library trees Subject: [PATCH 22/34] Merge shared and static library trees
Allow installation of shared and static build in the same prefix Allow installation of shared and static build in the same prefix
--- ---
@ -99,7 +99,7 @@ index 51ea3a8321..275e080ae4 100644
QMAKE_EXT_YACC = .y QMAKE_EXT_YACC = .y
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index c7e075b5bc..d61f7b05e5 100644 index 0d07d6c333..5e84628e72 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3163,6 +3163,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir) @@ -3163,6 +3163,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir)
@ -126,5 +126,5 @@ index c7e075b5bc..d61f7b05e5 100644
t << endl; t << endl;
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 6e0b658e5cadf0248954fbbf1b8271d54b9778a2 Mon Sep 17 00:00:00 2001 From f73b460094294c7cd9f9d9cd481fbf1cef5a2a49 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:32:00 +0200 Date: Sun, 18 Sep 2016 18:32:00 +0200
Subject: [PATCH 23/33] Pull dependencies of static libraries in CMake modules Subject: [PATCH 23/34] Pull dependencies of static libraries in CMake modules
When doing a static build of Qt, the dependencies of the Qt When doing a static build of Qt, the dependencies of the Qt
libraries and plugins itself must be specified when linking libraries and plugins itself must be specified when linking
@ -251,7 +251,7 @@ index 5baf0fdb10..ec5f3cc437 100644
+ +
+endif() +endif()
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index d61f7b05e5..2dd26bf4dd 100644 index 5e84628e72..c853d52b27 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -998,6 +998,13 @@ MakefileGenerator::writePrlFile(QTextStream &t) @@ -998,6 +998,13 @@ MakefileGenerator::writePrlFile(QTextStream &t)
@ -269,5 +269,5 @@ index d61f7b05e5..2dd26bf4dd 100644
} }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eec4b8a76d8c5882a5fbd4e6aa85dea696049c23 Mon Sep 17 00:00:00 2001 From 903ed5730e5a25ea6fda815fcd88cc36e3d8639e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sat, 5 Aug 2017 21:14:26 +0200 Date: Sat, 5 Aug 2017 21:14:26 +0200
Subject: [PATCH 24/33] Allow usage of static version with CMake Subject: [PATCH 24/34] Allow usage of static version with CMake
Allow selecting between dynamic and static Qt versions Allow selecting between dynamic and static Qt versions
installed in the same prefix installed in the same prefix
@ -997,5 +997,5 @@ index 2a575958ae..ca0e3be3b5 100644
INTERFACE_COMPILE_DEFINITIONS QT_TESTCASE_BUILDDIR=\\\"\${CMAKE_BINARY_DIR}\\\" INTERFACE_COMPILE_DEFINITIONS QT_TESTCASE_BUILDDIR=\\\"\${CMAKE_BINARY_DIR}\\\"
) )
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 0aac929861fb8d60fbc66f2557e1b9c5022ff9c5 Mon Sep 17 00:00:00 2001 From b3bcf57cfbd152eafa82b9d80183fde0f2bf1f5c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 16:42:07 +0200 Date: Fri, 2 Jun 2017 16:42:07 +0200
Subject: [PATCH 25/33] Adjust linker flags for static build with Subject: [PATCH 25/34] Adjust linker flags for static build with
cmake/mingw-w64 cmake/mingw-w64
Change-Id: I33b88976d8f5ce87ce431a6f422fe87785bf5b8d Change-Id: I33b88976d8f5ce87ce431a6f422fe87785bf5b8d
@ -25,5 +25,5 @@ index ebe6644dfe..687d611b3f 100644
+unset(_isExe) +unset(_isExe)
+!!ENDIF +!!ENDIF
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f2ff6d5023bd834b0110a97a16e085c3914335a7 Mon Sep 17 00:00:00 2001 From 1e31f372966581f19bcbd9a39b29cf3dedfe9c5a Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:50:21 +0200 Date: Sun, 18 Sep 2016 18:50:21 +0200
Subject: [PATCH 26/33] Use correct pkg-config --static flag Subject: [PATCH 26/34] Use correct pkg-config --static flag
--- ---
configure.pri | 3 +++ configure.pri | 3 +++
@ -22,5 +22,5 @@ index a05c3d98e6..8dc874a74d 100644
$$qtConfEvaluate("features.cross_compile") { $$qtConfEvaluate("features.cross_compile") {
# cross compiling, check that pkg-config is set up sanely # cross compiling, check that pkg-config is set up sanely
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 4f332ea7f376d8a77d7dbfe82ab6e5eb6b6f1fe9 Mon Sep 17 00:00:00 2001 From 0f6a4852f4bf5d43aa856f2af475f5f526b76daf Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 4 Dec 2016 20:35:47 +0100 Date: Sun, 4 Dec 2016 20:35:47 +0100
Subject: [PATCH 27/33] Fix macro invoking moc, rcc and uic Subject: [PATCH 27/34] Fix macro invoking moc, rcc and uic
* Otherwise the arguments aren't passed correctly leading to errors like * Otherwise the arguments aren't passed correctly leading to errors like
``` ```
@ -70,5 +70,5 @@ index f5e7b7f050..18d120f0c7 100644
MAIN_DEPENDENCY ${infile} VERBATIM) MAIN_DEPENDENCY ${infile} VERBATIM)
list(APPEND ${outfiles} ${outfile}) list(APPEND ${outfiles} ${outfile})
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From a8039e2f388a3fbd289dc912ae6b6a58beb84f19 Mon Sep 17 00:00:00 2001 From 80964e61f1442f4566b6cb1d4a08231ea5942133 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 20:59:54 +0100 Date: Wed, 25 Jan 2017 20:59:54 +0100
Subject: [PATCH 28/33] Ignore errors about missing feature static Subject: [PATCH 28/34] Ignore errors about missing feature static
Not sure why this error occurs, let's hope for the best Not sure why this error occurs, let's hope for the best
--- ---
@ -10,10 +10,10 @@ Not sure why this error occurs, let's hope for the best
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf
index 150d2b2cc3..d93d24cce5 100644 index 76e1d15319..9a1c5cd8b6 100644
--- a/mkspecs/features/qt_build_config.prf --- a/mkspecs/features/qt_build_config.prf
+++ b/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf
@@ -135,5 +135,5 @@ defineTest(qtConfig) { @@ -138,5 +138,5 @@ defineTest(qtConfig) {
contains(QT.$${module}.disabled_features, $$1): \ contains(QT.$${module}.disabled_features, $$1): \
return(false) return(false)
} }
@ -21,10 +21,10 @@ index 150d2b2cc3..d93d24cce5 100644
+ !equals($$1, "static"): error("Could not find feature $${1}.") + !equals($$1, "static"): error("Could not find feature $${1}.")
} }
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index c00fdb73f8..d4d5599433 100644 index 1903e509c8..1fcb597fa3 100644
--- a/mkspecs/features/qt_functions.prf --- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf
@@ -351,5 +351,5 @@ defineTest(qtConfig) { @@ -348,5 +348,5 @@ defineTest(qtConfig) {
contains(QT.$${module}.disabled_features, $$1): \ contains(QT.$${module}.disabled_features, $$1): \
return(false) return(false)
} }
@ -32,5 +32,5 @@ index c00fdb73f8..d4d5599433 100644
+ !equals($$1, "static"): error("Could not find feature $${1}.") + !equals($$1, "static"): error("Could not find feature $${1}.")
} }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 05738e526362a5c712d8341ada02e557e76579f5 Mon Sep 17 00:00:00 2001 From 3a5569599bd8c5267e41c57917b19e16bba1169c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 21:08:20 +0100 Date: Wed, 25 Jan 2017 21:08:20 +0100
Subject: [PATCH 29/33] Enable and fix use of iconv Subject: [PATCH 29/34] Enable and fix use of iconv
Change-Id: I5f0ab27afca0800dec11c7af74d196190820ae5c Change-Id: I5f0ab27afca0800dec11c7af74d196190820ae5c
--- ---
@ -63,10 +63,10 @@ index d6362b6fbc..4da4546a24 100644
#else #else
char **inBytesPtr = &inBytes; char **inBytesPtr = &inBytes;
diff --git a/src/corelib/configure.json b/src/corelib/configure.json diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index a5b69a2df6..9e3eb4f671 100644 index bf44f2649d..90f0450902 100644
--- a/src/corelib/configure.json --- a/src/corelib/configure.json
+++ b/src/corelib/configure.json +++ b/src/corelib/configure.json
@@ -428,9 +428,9 @@ @@ -521,9 +521,9 @@
}, },
"gnu-libiconv": { "gnu-libiconv": {
"label": "GNU iconv", "label": "GNU iconv",
@ -79,5 +79,5 @@ index a5b69a2df6..9e3eb4f671 100644
}, },
"icu": { "icu": {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f99af5483b8c3d8b511db8476f4d738ff868886c Mon Sep 17 00:00:00 2001 From e9f964d079c6dea6404f01d0d8f1acfa5287ccdc Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 21:08:48 +0100 Date: Wed, 25 Jan 2017 21:08:48 +0100
Subject: [PATCH 30/33] Ignore failing pkg-config test Subject: [PATCH 30/34] Ignore failing pkg-config test
Didn't investigate why it fails, let's hope for the best Didn't investigate why it fails, let's hope for the best
--- ---
@ -9,10 +9,10 @@ Didn't investigate why it fails, let's hope for the best
1 file changed, 1 deletion(-) 1 file changed, 1 deletion(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index 9914bf0487..d5b81d53f5 100644 index d668ce0c98..2d36a60cd3 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -710,7 +710,6 @@ @@ -725,7 +725,6 @@
"pkg-config": { "pkg-config": {
"label": "Using pkg-config", "label": "Using pkg-config",
"autoDetect": "!config.darwin && !config.win32", "autoDetect": "!config.darwin && !config.win32",
@ -21,5 +21,5 @@ index 9914bf0487..d5b81d53f5 100644
"publicFeature", "publicFeature",
{ "type": "publicQtConfig", "negative": true }, { "type": "publicQtConfig", "negative": true },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eadf27b8bd882899a99254578ecb8407a0acab6f Mon Sep 17 00:00:00 2001 From d35384a8d6191d68f8cd2b60a2295f5372d67fa4 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Tue, 7 Feb 2017 18:25:28 +0100 Date: Tue, 7 Feb 2017 18:25:28 +0100
Subject: [PATCH 31/33] Prevent qmake from messing static lib dependencies Subject: [PATCH 31/34] Prevent qmake from messing static lib dependencies
In particular, it messes resolving cyclic dependency between In particular, it messes resolving cyclic dependency between
static freetype2 and harfbuzz static freetype2 and harfbuzz
@ -39,5 +39,5 @@ index 2e6d5d94a9..a8320bae09 100644
static const char * const lflags[] = { "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", 0 }; static const char * const lflags[] = { "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", 0 };
for (int i = 0; lflags[i]; i++) { for (int i = 0; lflags[i]; i++) {
-- --
2.14.2 2.15.1

View File

@ -1,18 +1,16 @@
From f7bb119102d28e22b764cce82ee491e747034247 Mon Sep 17 00:00:00 2001 From aa947be7429528caf04ad7db6f077fe695bcfe82 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 25 Jan 2017 23:42:30 +0100 Date: Wed, 25 Jan 2017 23:42:30 +0100
Subject: [PATCH 32/33] Hardcode linker flags for platform plugins Subject: [PATCH 32/34] Hardcode linker flags for platform plugins
Otherwise incorrect order of libs leads to errors Otherwise incorrect order of libs leads to errors
when building libqminimal.dll, libqoffscreen.dll when building libqminimal.dll, libqoffscreen.dll
and libqwindows.dll and libqwindows.dll
Change-Id: I594ddcc15599c63bb8ac5e998f59c4561a18eb26
--- ---
src/plugins/platforms/minimal/minimal.pro | 15 +++++++++++++-- src/plugins/platforms/minimal/minimal.pro | 15 +++++++++++--
src/plugins/platforms/offscreen/offscreen.pro | 14 ++++++++++++-- src/plugins/platforms/offscreen/offscreen.pro | 14 ++++++++++--
src/plugins/platforms/windows/windows.pro | 19 +++++++++++++++---- src/plugins/platforms/windows/windows.pro | 32 +++++++++++++++++++--------
3 files changed, 40 insertions(+), 8 deletions(-) 3 files changed, 48 insertions(+), 13 deletions(-)
diff --git a/src/plugins/platforms/minimal/minimal.pro b/src/plugins/platforms/minimal/minimal.pro diff --git a/src/plugins/platforms/minimal/minimal.pro b/src/plugins/platforms/minimal/minimal.pro
index 8cfb68824e..46834a71fc 100644 index 8cfb68824e..46834a71fc 100644
@ -66,36 +64,47 @@ index 6652cefd86..a322b17cc5 100644
DEFINES += QT_NO_FOREACH DEFINES += QT_NO_FOREACH
diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro
index 23168c10dc..eb4af726ca 100644 index 174bc7b609..e66488e364 100644
--- a/src/plugins/platforms/windows/windows.pro --- a/src/plugins/platforms/windows/windows.pro
+++ b/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro
@@ -1,11 +1,22 @@ @@ -1,14 +1,28 @@
TARGET = qwindows TARGET = qwindows
QT += \ -QT += \
- core-private gui-private \ - core-private gui-private \
- eventdispatcher_support-private accessibility_support-private \ - eventdispatcher_support-private \
- fontdatabase_support-private theme_support-private - fontdatabase_support-private theme_support-private
+ core-private gui-private -
-qtConfig(accessibility): QT += accessibility_support-private
-qtConfig(vulkan): QT += vulkan_support-private
-
-LIBS += -lgdi32 -ldwmapi -LIBS += -lgdi32 -ldwmapi
+QT += core-private gui-private
+
+# Fix linker error when building libqwindows.dll by specifying linker flags for +# Fix linker error when building libqwindows.dll by specifying linker flags for
+# required modules manually (otherwise order is messed) +# required modules manually (otherwise order is messed)
+LIBS += \ +LIBS += \
+ -lQt5EventDispatcherSupport \ + -lQt5EventDispatcherSupport \
+ -lQt5AccessibilitySupport \
+ -lQt5FontDatabaseSupport \ + -lQt5FontDatabaseSupport \
+ -lQt5ThemeSupport \ + -lQt5ThemeSupport \
+ -lfreetype -lole32 -lgdi32 -ldwmapi + -lfreetype -lole32 -lgdi32 -ldwmapi
+# However, this workaround leads to the necessity of specifying include dirs manually +# However, this workaround leads to the necessity of specifying include dirs manually
+INCLUDEPATH += \ +INCLUDEPATH += \
+ $$QT_SOURCE_TREE/include/QtEventDispatcherSupport/$${QT_VERSION} \ + $$QT_SOURCE_TREE/include/QtEventDispatcherSupport/$${QT_VERSION} \
+ $$QT_SOURCE_TREE/include/QtAccessibilitySupport/$${QT_VERSION} \
+ $$QT_SOURCE_TREE/include/QtFontDatabaseSupport/$${QT_VERSION} \ + $$QT_SOURCE_TREE/include/QtFontDatabaseSupport/$${QT_VERSION} \
+ $$QT_SOURCE_TREE/include/QtThemeSupport/$${QT_VERSION} + $$QT_SOURCE_TREE/include/QtThemeSupport/$${QT_VERSION}
+# Same for private support libs for accessibility and vulkan, if those are enabled
+qtConfig(accessibility) {
+ LIBS += -lQt5AccessibilitySupport
+ INCLUDEPATH += $$QT_SOURCE_TREE/include/QtAccessibilitySupport/$${QT_VERSION}
+}
+qtConfig(vulkan) {
+ LIBS += -lQt5VulkanSupport
+ INCLUDEPATH += $$QT_SOURCE_TREE/include/QtVulkanSupport/$${QT_VERSION}
+}
include(windows.pri) include(windows.pri)
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From b91d3a0690995511d1388b9d9493aed702bd0138 Mon Sep 17 00:00:00 2001 From 7db753e04de6a458fc10124b7e3b12ac5f4d1623 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 25 Aug 2017 17:07:17 +0200 Date: Fri, 25 Aug 2017 17:07:17 +0200
Subject: [PATCH 33/33] Fix linking against static plugins with qmake Subject: [PATCH 33/34] Fix linking against static plugins with qmake
Required because qtConfig(static) does not work Required because qtConfig(static) does not work
with 'Merge shared and static library trees' with 'Merge shared and static library trees'
@ -33,5 +33,5 @@ index afaac3dbc4..82b02b5113 100644
# Check if the plugin is known to Qt. We can use this to determine # Check if the plugin is known to Qt. We can use this to determine
# the plugin path. Unknown plugins must rely on the default link path. # the plugin path. Unknown plugins must rely on the default link path.
-- --
2.14.2 2.15.1

View File

@ -0,0 +1,27 @@
From e8cbf42a882706cce93f46142748d252cb492e1c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sat, 9 Dec 2017 00:36:56 +0100
Subject: [PATCH 34/34] Don't use the statx syscall
Otherwise Qt can not be built in a systemd
container
---
src/corelib/io/qfilesystemengine_unix.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index 77d154c6b4..6036bae4f1 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -95,7 +95,7 @@ static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newp
{ return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
# endif
-# if !QT_CONFIG(statx) && defined(SYS_statx) && QT_HAS_INCLUDE(<linux/stat.h>)
+# if 0
# include <linux/stat.h>
static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf)
{ return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); }
--
2.15.1

View File

@ -84,7 +84,7 @@ isNoOpenGL() {
} }
pkgname=mingw-w64-qt5-base-dynamic pkgname=mingw-w64-qt5-base-dynamic
pkgver=5.9.2 pkgver=5.10.0
pkgrel=1 pkgrel=1
pkgdesc='A cross-platform application and UI framework (mingw-w64)' pkgdesc='A cross-platform application and UI framework (mingw-w64)'
# The static variant doesn't contain any executables which need to be executed on the build machine # The static variant doesn't contain any executables which need to be executed on the build machine
@ -92,14 +92,14 @@ isStatic && arch=('any') || arch=('i686' 'x86_64')
url='https://www.qt.io/' url='https://www.qt.io/'
license=('GPL3' 'LGPL3' 'FDL' 'custom') license=('GPL3' 'LGPL3' 'FDL' 'custom')
depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-libjpeg-turbo' 'mingw-w64-sqlite' depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-libjpeg-turbo' 'mingw-w64-sqlite'
'mingw-w64-libpng' 'mingw-w64-openssl-1.0' 'mingw-w64-dbus' 'mingw-w64-harfbuzz' 'mingw-w64-libpng' 'mingw-w64-openssl' 'mingw-w64-dbus' 'mingw-w64-harfbuzz'
'mingw-w64-pcre2') 'mingw-w64-pcre2')
groups=('mingw-w64-qt5') groups=('mingw-w64-qt5')
optdepends=('mingw-w64-postgresql: PostgreSQL support' 'mingw-w64-mariadb-connector-c: MySQL support') optdepends=('mingw-w64-postgresql: PostgreSQL support' 'mingw-w64-mariadb-connector-c: MySQL support')
makedepends=('mingw-w64-gcc' 'mingw-w64-postgresql' 'mingw-w64-mariadb-connector-c' 'mingw-w64-pkg-config') makedepends=('mingw-w64-gcc' 'mingw-w64-postgresql' 'mingw-w64-mariadb-connector-c' 'mingw-w64-pkg-config')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
_pkgfqn="qtbase-opensource-src-${pkgver}" _pkgfqn="qtbase-everywhere-src-${pkgver}"
source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/submodules/${_pkgfqn}.tar.xz" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz"
'0001-Add-profile-for-cross-compilation-with-mingw-w64.patch' '0001-Add-profile-for-cross-compilation-with-mingw-w64.patch'
'0002-Ensure-GLdouble-is-defined-when-using-dynamic-OpenGL.patch' '0002-Ensure-GLdouble-is-defined-when-using-dynamic-OpenGL.patch'
'0003-Use-external-ANGLE-library.patch' '0003-Use-external-ANGLE-library.patch'
@ -132,41 +132,43 @@ source=("https://download.qt.io/official_releases/qt/${pkgver:0:3}/${pkgver}/sub
'0030-Ignore-failing-pkg-config-test.patch' '0030-Ignore-failing-pkg-config-test.patch'
'0031-Prevent-qmake-from-messing-static-lib-dependencies.patch' '0031-Prevent-qmake-from-messing-static-lib-dependencies.patch'
'0032-Hardcode-linker-flags-for-platform-plugins.patch' '0032-Hardcode-linker-flags-for-platform-plugins.patch'
'0033-Fix-linking-against-static-plugins-with-qmake.patch') '0033-Fix-linking-against-static-plugins-with-qmake.patch'
sha256sums=('7fe2bb468955f633c71b3ddd3c269e68a2c4137a4e5b8dd12dcdb34cbc6d609b' '0034-Don-t-use-the-statx-syscall.patch')
'685fd08e1c4e97bbf6990959cb3dbe88dd3ed494221400dce6aef159d277c34a' sha256sums=('fd5578cd320a13617c12cf2b19439386b203d6d45548e855f94e07be9829f762'
'4e5115e62b952acface29882c5f6423569cd1c439c454e58594b5fb2cb740916' 'd2784f40a1f8f3f7041c94b89702404a21ef2fd1d6c63bbffe14e26321265745'
'0b339563844ccd325486d78711592561996fb256f0612c63b33b6ea52a6fc77e' 'c695a25e6dc0ddd8b1dd07adba6eee518294ffb69b689f373dde861f935c876b'
'18945eb521df54d37922894c9bc82ccd03eb3fd9f6e0aed986facf2b49f336d4' '4a7a855fe8abffe0aa3da450981439a1c26f7f65fe456149f627bccd603ad5b7'
'2c2b5f9b3db02750ae9a9626ea8a24a3516c881c5eaa9b19fb9a2621fc1263fc' '46a42a20a4bed03f9f0b7abd55904be3e560dfd4e10e586d68479a5060ce06e2'
'81559290cc03f7ff6042f28a6eb319882264876076a20e24531641ebe4ef3aee' '70550f6cbe95c5a14ccb7e9ba5fab7cb595a0fc49b889c9ac735cca41148ab5b'
'a3d657ee7f8bfa6c3e5a4aa626710bc27fc82fea3d834098bde2b2f67244d11c' 'fa16872915ce6d24bc217ee7c5e42c3c61e29034f832e32f2971da85eb4f3d08'
'3df9bf81a936c737cc7ca53bdea9cfd2a4010fa190fe3e1a45611097d8213ef4' '19b01e55dd3eb311c182d2ef682f15a2739556d5585d9e19de633e92dba9a788'
'5aac41daaf223726d31ab5a7aec0bdc050aa182522ca732cc31c3b5ac8cd28dc' 'e13936a6f7d17a6c38c95e9cc9e19209a3d03970cf5157931f309edf45530132'
'6844b7106e636d513b077edeba318990641b1ee294f2a70739830e3d0a9b0d02' '978a2f5a53c0fe50780a12c09bbc81ee8efe60d1437425b08b3c5b4a4edb217c'
'12b51c32069270e49e05e64b0f54d6e3e871523660fd17673e0ee6e67206955e' '8ffb5f68ebe09e99580d45c1279dc39ef811d0de7e4d363173af3be2cf3c9ee8'
'4baa73f8b3d61b503a9de1437bdc9f7f84cd2443280afc1461456ae34d222e9b' '305f18d1b011033fbb12ca544d3af47cb45a1b6d324bf68b671cb007dc2a8a0a'
'e34eec672f9f681302edd809cbcb7d6848a310a02acc5711e2e348aab1b8d74c' '53fb05efee9c024643cd607c623eda745a122cddc2880d6554b3168778942316'
'd70f44c06a7bae6fbd91022ec79f09e2d658969aa5a6602bff6eb61076801b6e' '927188133dc2708345f7c831e1253b59338a9554b544c1d2cfdf02493b92573f'
'f705fcfe1f552536318c2c63d59e5ec95640321d9f1fff1016a34d1bc862c9df' '125f0b758bf2088589a31ced00146dc2cce28fa93bdd84684857ae60850c96b8'
'60034cce435d3eca60906e4af2f1ad55edd12b4e95ccc9905e793bc7b9d66917' '016c3a2980060365dd7e83a001f274b6a7f736af2519fa7c5263b0def10e2703'
'295c307f6b075b0c20b7d714b6ecff1bc25927b80dd60d725052b4bc05d1b055' '48930971f0ce225795bd0b6292c4e3ad27843ec0c95113b95be44274435b6623'
'37c2d0bce780a15e7bdb477324936b1ae0ebe576c64d3a713a9086586518d50a' 'a6f8e6111b6960b86b347c3927251f41c8fa235aabf90e89965063326c7cedd3'
'36b6a2e1d2bf478746e931da5223dcfeffc5eda513b64596ffbbd663fd5e63e7' 'a57e452177fd1aa7f0d22b1a83f29dd18010dfef7b007157a7dc8d6399232471'
'e1b45c50ca09b065f218442a1fc3ddf3c8de1357a818925497fe0e3e7c28cacd' '07b1ab8b25a02e1ed369017178847081afe937817e71384dfb17ab56ff278a0e'
'03feabae42553a6960c2a257eb951d956fe31a9a4440a92b373e8a0d6cb301ff' '2b426ab2aa774110c2b628c4987748520925e7ebfda2f524407cdc606315696b'
'1ec8a7ebaf5e400aca7a0abe8cee78d0dae6b662c30bf245b81814cfcd048dd3' 'a78df9e2a5f3da89f944328a217ae5dd75fabd37f5b5c9ebc8eb75678f31910a'
'bc2f049471853a6bb2e83de3c2691a4206d55c7fe018bb7910215e9968759082' '8470c121a04702b1a0ef4f52d310e69906bab0c066fcb6c7601bcb678655b959'
'8611ac15ee36b803b5095466509c57d45532ab017d61513f2be7b34d5c13da0f' 'ac09e38e4f555e5bae1bc0f01b70a67624b15ecf5affc06d85eaccbc85f3c1da'
'f999f20131f0180439b59320ab350a284b169e5ee5e21379fa74dc07d4aeda25' '0c1939eff41143bc78a6bf6e8b51515f4ba68337b9723674e6e7ab696167edae'
'd9fed680c0313c89458361ac253a5710379fa8022c7c24b05d2807ecaf4f803a' 'ed64b7a36a01d30bc9d35fed47186f9161e5ceba7dd92da7c60d288026fa8856'
'd263509d7951f12d9ccfa841cd7f205aebc7b9db28913925b65a23e627258023' '3f42240d83d09c62b8a7d9a98fe2d6a9d9fcf8ba6b5ff3d303a941411ef7d1a4'
'092176255153bae63f779833d25e5f64a2c489a1b6f33e8e158ff59629916b36' 'd44bdc6363d1e5e1cbcdb5b61e0a788a38368ab3090746c165981bd0a5eb0854'
'65023b59b41797281876b5fcd8cb1542ad790b9b6f83125b6b0aa1e02d9de4fb' '15c0691f6fd058bf70be79b221ab4ace66cc574728b68d9f15bafe1877f46266'
'3d5202be8837bccab4dedc9b6f10b3722ca57ea8b663e08b55d0235381397508' '05aec6b0c2d9add0e4181246b52096d4cf2f4176f4c0e9f467d5244492844c28'
'4df4c2ad348c13a3b82c3a9b127464492898379a82dfd6db9d3ff9d051a08dab' 'ed1237884607a368190cb1ac4de2a12f00e54ecfcea901c7f1980ac37b94b57b'
'cfa48754bef9f7a95f1350c0c1ec1699c9dc413013ef78d218206f5d60335823' '4a83eb1549be9477bc002a6b939e24a6f1b6fd14bfcc804235771d484762aa3e'
'135123e630efdbeb6d4edc9bc200754f2c881760652fe5152f0903ae238ce2c9') 'a100076b67008b64f73fd4fd4b131e1774b84b24b61198cabecdb5916d634887'
'fe9ecf6e82b64b3a955f688d51c87ca82a4aa4ad59e419c7c284ce18b72e223c'
'cbc0e2570ca5b52681d99ab15e7a7a79a286e498203d34c2d67493a78dd6b84d')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32' _architectures='i686-w64-mingw32 x86_64-w64-mingw32'
@ -232,8 +234,6 @@ build() {
unset PKG_CONFIG_PATH unset PKG_CONFIG_PATH
for _arch in ${_architectures}; do for _arch in ${_architectures}; do
echo "INCLUDEPATH += /usr/${_arch}/include/openssl-1.0" >> src/network/network.pro
# To prevent conflicts with the mingw-w64-qt4 package we have # To prevent conflicts with the mingw-w64-qt4 package we have
# to put tools in a dedicated folder # to put tools in a dedicated folder
@ -314,22 +314,26 @@ build() {
# Fix MariaDB # Fix MariaDB
qt_configure_args+=" -I/usr/${_arch}/include/mariadb" qt_configure_args+=" -I/usr/${_arch}/include/mariadb"
msg2 'Configure and build qmake'
mkdir -p ../build-${_arch} && pushd ../build-${_arch} mkdir -p ../build-${_arch} && pushd ../build-${_arch}
if isStatic; then if isStatic; then
export OPENSSL_LIBS="/usr/${_arch}/lib/openssl-1.0/libssl.a /usr/${_arch}/lib/openssl-1.0/libcrypto.a -lws2_32 -lgdi32 -lcrypt32" export OPENSSL_LIBS="/usr/${_arch}/lib/libssl.a /usr/${_arch}/lib/libcrypto.a -lws2_32 -lgdi32 -lcrypt32"
../${_pkgfqn}/configure \ ../${_pkgfqn}/configure \
$qt_configure_args \ $qt_configure_args \
-static \ -static \
-openssl-linked -openssl-linked
msg2 'Build static Qt libraries'
make make
else else
# The LD_LIBRARY_PATH override is needed because libQt5Bootstrap* are shared # The LD_LIBRARY_PATH override is needed because libQt5Bootstrap* are shared
# libraries which various compiled tools (like moc) use. As the libQt5Bootstrap* # libraries which various compiled tools (like moc) use. As the libQt5Bootstrap*
# libraries aren't installed at this point yet, we have to workaround this # libraries aren't installed at this point yet, we have to workaround this
../${_pkgfqn}/configure $qt_configure_args \ ../${_pkgfqn}/configure \
$qt_configure_args \
-shared \ -shared \
-openssl-runtime \ -openssl-runtime \
-device-option 'CROSS_COMPILE_CUSTOM_CONFIG=actually_a_shared_build' -device-option 'CROSS_COMPILE_CUSTOM_CONFIG=actually_a_shared_build'
msg2 'Build shared Qt libraries'
LD_LIBRARY_PATH="$PWD/lib" LDFLAGS="-L$PWD/lib" make LD_LIBRARY_PATH="$PWD/lib" LDFLAGS="-L$PWD/lib" make
fi fi
popd popd
@ -351,6 +355,7 @@ package() {
"${pkgdir}/usr/${_arch}/lib/"{lib,}qt5main* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}qt5main* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5AccessibilitySupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5AccessibilitySupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5DeviceDiscoverySupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5DeviceDiscoverySupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5EdidSupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5EventDispatcherSupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5EventDispatcherSupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FbSupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FbSupport* \
"${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FontDatabaseSupport* \ "${pkgdir}/usr/${_arch}/lib/"{lib,}Qt5FontDatabaseSupport* \

View File

@ -1,7 +1,7 @@
From 76b918b0c930c9c4c704f4ce947822e30c1bf1ec Mon Sep 17 00:00:00 2001 From af6803389ebba50abfe7ad299bbf99c9c8d1a8aa Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 18:30:51 +0100 Date: Fri, 3 Feb 2017 18:30:51 +0100
Subject: [PATCH 01/33] Add profile for cross compilation with mingw-w64 Subject: [PATCH 01/34] Add profile for cross compilation with mingw-w64
--- ---
mkspecs/mingw-w64-g++/qmake.conf | 126 +++++++++++++++++++++++++++ mkspecs/mingw-w64-g++/qmake.conf | 126 +++++++++++++++++++++++++++
@ -12,7 +12,7 @@ Subject: [PATCH 01/33] Add profile for cross compilation with mingw-w64
diff --git a/mkspecs/mingw-w64-g++/qmake.conf b/mkspecs/mingw-w64-g++/qmake.conf diff --git a/mkspecs/mingw-w64-g++/qmake.conf b/mkspecs/mingw-w64-g++/qmake.conf
new file mode 100644 new file mode 100644
index 0000000000..c929483fcd index 0000000000..0979611a53
--- /dev/null --- /dev/null
+++ b/mkspecs/mingw-w64-g++/qmake.conf +++ b/mkspecs/mingw-w64-g++/qmake.conf
@@ -0,0 +1,126 @@ @@ -0,0 +1,126 @@
@ -133,7 +133,7 @@ index 0000000000..c929483fcd
+ $$system($${QMAKE_PKG_CONFIG} --static --libs harfbuzz) \ + $$system($${QMAKE_PKG_CONFIG} --static --libs harfbuzz) \
+ $$system($${QMAKE_PKG_CONFIG} --static --libs freetype2) + $$system($${QMAKE_PKG_CONFIG} --static --libs freetype2)
+QMAKE_LIBS_NETWORK = -lws2_32 -lcrypt32 -ldnsapi +QMAKE_LIBS_NETWORK = -lws2_32 -lcrypt32 -ldnsapi
+QMAKE_LIBS_NETWORK_STATIC = $${CROSS_COMPILE_PREFIX}/lib/openssl-1.0/libssl.a $${CROSS_COMPILE_PREFIX}/lib/openssl-1.0/libcrypto.a -lgdi32 +QMAKE_LIBS_NETWORK_STATIC = $$system($${QMAKE_PKG_CONFIG} --static --libs openssl) -ldnsapi
+QMAKE_LIBS_DBUS = $$system($${QMAKE_PKG_CONFIG} --static --libs dbus-1) +QMAKE_LIBS_DBUS = $$system($${QMAKE_PKG_CONFIG} --static --libs dbus-1)
+QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32 +QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32
+QMAKE_LIBS_OPENGL_ES2 = -l$${LIBEGL_NAME} -l$${LIBGLESV2_NAME} -ld3d9 -ldxguid -lgdi32 -luser32 +QMAKE_LIBS_OPENGL_ES2 = -l$${LIBEGL_NAME} -l$${LIBGLESV2_NAME} -ld3d9 -ldxguid -lgdi32 -luser32
@ -304,5 +304,5 @@ index 0000000000..c5a70b1445
+ +
+#endif // QPLATFORMDEFS_H +#endif // QPLATFORMDEFS_H
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 31fa3e1192849fb5460b346a3fc1f91fe1431f8e Mon Sep 17 00:00:00 2001 From b8e324aa1716e50bdb66772bab2442e5b7c7afe8 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:36:53 +0200 Date: Sun, 18 Sep 2016 13:36:53 +0200
Subject: [PATCH 02/33] Ensure GLdouble is defined when using dynamic OpenGL Subject: [PATCH 02/34] Ensure GLdouble is defined when using dynamic OpenGL
FIXME: Not sure whether this is still required FIXME: Not sure whether this is still required
--- ---
@ -23,5 +23,5 @@ index 0a5de2c9af..35798a2a28 100644
#ifdef Q_ENABLE_OPENGL_FUNCTIONS_DEBUG #ifdef Q_ENABLE_OPENGL_FUNCTIONS_DEBUG
#include <stdio.h> #include <stdio.h>
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 00b0e801caf246047f3ea18bead0ffc7c7631dad Mon Sep 17 00:00:00 2001 From 036909a4c082a17bee90c451842ebaee896e1893 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:41:38 +0200 Date: Sun, 18 Sep 2016 13:41:38 +0200
Subject: [PATCH 03/33] Use external ANGLE library Subject: [PATCH 03/34] Use external ANGLE library
--- ---
src/gui/Qt5GuiConfigExtras.cmake.in | 4 ++-- src/gui/Qt5GuiConfigExtras.cmake.in | 4 ++--
@ -28,7 +28,7 @@ index 07869efd7d..2e32911a64 100644
_qt5_Gui_check_file_exists(${Qt5Gui_EGL_INCLUDE_DIRS}) _qt5_Gui_check_file_exists(${Qt5Gui_EGL_INCLUDE_DIRS})
diff --git a/src/gui/gui.pro b/src/gui/gui.pro diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index f7d077e656..b7fc6fadaf 100644 index f8cec00b82..d09c9fd49c 100644
--- a/src/gui/gui.pro --- a/src/gui/gui.pro
+++ b/src/gui/gui.pro +++ b/src/gui/gui.pro
@@ -18,12 +18,6 @@ MODULE_PLUGIN_TYPES = \ @@ -18,12 +18,6 @@ MODULE_PLUGIN_TYPES = \
@ -66,7 +66,7 @@ index 016db46405..02f1204f0f 100644
HEADERS += qgl.h \ HEADERS += qgl.h \
qgl_p.h \ qgl_p.h \
diff --git a/src/plugins/platforms/windows/windows.pri b/src/plugins/platforms/windows/windows.pri diff --git a/src/plugins/platforms/windows/windows.pri b/src/plugins/platforms/windows/windows.pri
index 6d01d05fcc..181ac2cb3b 100644 index b7790a66e3..046fe34a06 100644
--- a/src/plugins/platforms/windows/windows.pri --- a/src/plugins/platforms/windows/windows.pri
+++ b/src/plugins/platforms/windows/windows.pri +++ b/src/plugins/platforms/windows/windows.pri
@@ -4,6 +4,7 @@ LIBS += -lole32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32 @@ -4,6 +4,7 @@ LIBS += -lole32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32
@ -78,10 +78,10 @@ index 6d01d05fcc..181ac2cb3b 100644
mingw: LIBS *= -luuid mingw: LIBS *= -luuid
# For the dialog helpers: # For the dialog helpers:
diff --git a/src/src.pro b/src/src.pro diff --git a/src/src.pro b/src/src.pro
index 43fc06f2e5..4188d4ea6b 100644 index a2064b1362..b9ba606b03 100644
--- a/src/src.pro --- a/src/src.pro
+++ b/src/src.pro +++ b/src/src.pro
@@ -175,10 +175,6 @@ qtConfig(gui) { @@ -180,10 +180,6 @@ qtConfig(gui) {
SUBDIRS += src_3rdparty_harfbuzzng SUBDIRS += src_3rdparty_harfbuzzng
src_gui.depends += src_3rdparty_harfbuzzng src_gui.depends += src_3rdparty_harfbuzzng
} }
@ -93,5 +93,5 @@ index 43fc06f2e5..4188d4ea6b 100644
SUBDIRS += src_3rdparty_libpng SUBDIRS += src_3rdparty_libpng
src_3rdparty_freetype.depends += src_3rdparty_libpng src_3rdparty_freetype.depends += src_3rdparty_libpng
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 6f9daffcc9b83acbcae94ced0708f6f96f2e99c4 Mon Sep 17 00:00:00 2001 From d67f33383fde286f9c8e77bbd686a5c335473645 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:48:51 +0200 Date: Sun, 18 Sep 2016 13:48:51 +0200
Subject: [PATCH 04/33] Fix too many sections assemler error in OpenGL factory Subject: [PATCH 04/34] Fix too many sections assemler error in OpenGL factory
On x86_64 qopenglversionfunctionsfactory.o exceeds the On x86_64 qopenglversionfunctionsfactory.o exceeds the
limit of 32768 sections. limit of 32768 sections.
@ -25,5 +25,5 @@ index 4c778b184e..1dd1755d7f 100644
HEADERS += opengl/qopengl.h \ HEADERS += opengl/qopengl.h \
opengl/qopengl_p.h \ opengl/qopengl_p.h \
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 198b5f7e944f21a7f9caaeb686afddfc9e87c768 Mon Sep 17 00:00:00 2001 From 1c595c81473d93a87b339df137820624cafdc373 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:54:12 +0200 Date: Sun, 18 Sep 2016 13:54:12 +0200
Subject: [PATCH 05/33] Make sure *.pc files are installed correctly Subject: [PATCH 05/34] Make sure *.pc files are installed correctly
--- ---
qmake/generators/makefile.cpp | 8 ++++++-- qmake/generators/makefile.cpp | 8 ++++++--
@ -10,7 +10,7 @@ Subject: [PATCH 05/33] Make sure *.pc files are installed correctly
3 files changed, 8 insertions(+), 4 deletions(-) 3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index a1f3352aa3..0be4b1ef01 100644 index 82573347b6..b9871ff49c 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3146,7 +3146,7 @@ MakefileGenerator::openOutput(QFile &file, const QString &build) const @@ -3146,7 +3146,7 @@ MakefileGenerator::openOutput(QFile &file, const QString &build) const
@ -62,5 +62,5 @@ index 75bb5d236d..737f3abc3a 100644
uninst.append("\n\t"); uninst.append("\n\t");
uninst.append("-$(DEL_FILE) " + escapeFilePath(dst_pc)); uninst.append("-$(DEL_FILE) " + escapeFilePath(dst_pc));
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 5731914d9e5d8a026901e5bbab3f3ee1b3ea50f3 Mon Sep 17 00:00:00 2001 From 50b56803c962a656211021e50cd3e7df57722726 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 13:58:28 +0200 Date: Sun, 18 Sep 2016 13:58:28 +0200
Subject: [PATCH 06/33] Don't add resource files to LIBS parameter Subject: [PATCH 06/34] Don't add resource files to LIBS parameter
Solves an issue where the generated pkg-config Solves an issue where the generated pkg-config
files contained invalid Libs.private references files contained invalid Libs.private references
@ -11,10 +11,10 @@ like .obj/debug/Qt5Cored_resource_res.o
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index bad53dc5b7..c730d641b2 100644 index 792ffb1997..faf8b5a275 100644
--- a/qmake/generators/win32/mingw_make.cpp --- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp
@@ -202,7 +202,7 @@ void MingwMakefileGenerator::init() @@ -196,7 +196,7 @@ void MingwMakefileGenerator::init()
processVars(); processVars();
@ -24,5 +24,5 @@ index bad53dc5b7..c730d641b2 100644
if (project->isActiveConfig("dll")) { if (project->isActiveConfig("dll")) {
QString destDir = ""; QString destDir = "";
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 285b5fee5b5ada6cd82ddaf33eb9c1a05b564bc6 Mon Sep 17 00:00:00 2001 From b02e8af19e3d94f9c39bbcaf94e91ab6dc6ca3f8 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:01:14 +0200 Date: Sun, 18 Sep 2016 14:01:14 +0200
Subject: [PATCH 07/33] Prevent debug library names in pkg-config files Subject: [PATCH 07/34] Prevent debug library names in pkg-config files
qmake generates the pkgconfig .pc files two times, once for the qmake generates the pkgconfig .pc files two times, once for the
release build and once for the debug build (which we're not actually release build and once for the debug build (which we're not actually
@ -15,7 +15,7 @@ files for the debug build an unique file name.
1 file changed, 3 insertions(+) 1 file changed, 3 insertions(+)
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 0be4b1ef01..c7e075b5bc 100644 index b9871ff49c..0d07d6c333 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3160,6 +3160,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir) @@ -3160,6 +3160,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir)
@ -29,5 +29,5 @@ index 0be4b1ef01..c7e075b5bc 100644
QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString(); QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString();
if(!subdir.isEmpty()) { if(!subdir.isEmpty()) {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 1ee8c85cd86ca49c2d43d81af0c57eb49b877372 Mon Sep 17 00:00:00 2001 From e48d371cf5b0b98f91fca0fe38a5dd0479fcdfca Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Thu, 26 Jan 2017 17:51:31 +0100 Date: Thu, 26 Jan 2017 17:51:31 +0100
Subject: [PATCH 08/33] Fix linking against shared/static libpng Subject: [PATCH 08/34] Fix linking against shared/static libpng
Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf
--- ---
@ -9,10 +9,10 @@ Change-Id: Ic7a0ec9544059b8e647a5d0186f1b88c00911dcf
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 28c8034c75..7e9148500b 100644 index 0a591e110c..4ca919c6da 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -294,7 +294,8 @@ @@ -296,7 +296,8 @@
"sources": [ "sources": [
{ "type": "pkgConfig", "args": "libpng" }, { "type": "pkgConfig", "args": "libpng" },
{ "libs": "-llibpng", "condition": "config.msvc" }, { "libs": "-llibpng", "condition": "config.msvc" },
@ -23,5 +23,5 @@ index 28c8034c75..7e9148500b 100644
"use": [ "use": [
{ "lib": "zlib", "condition": "features.system-zlib" } { "lib": "zlib", "condition": "features.system-zlib" }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 3e04b4a701a7dde06f5ea046198ac5646b644e86 Mon Sep 17 00:00:00 2001 From 6785fbf99c08ef26967bcd064941b7bd692afb41 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 19:36:25 +0100 Date: Fri, 3 Feb 2017 19:36:25 +0100
Subject: [PATCH 09/33] Fix linking against static D-Bus Subject: [PATCH 09/34] Fix linking against static D-Bus
--- ---
configure.json | 9 +++++++-- configure.json | 9 +++++++--
@ -9,7 +9,7 @@ Subject: [PATCH 09/33] Fix linking against static D-Bus
2 files changed, 11 insertions(+), 2 deletions(-) 2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index a91456aaf3..55c56369ba 100644 index 26e1572f32..108619634c 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -171,18 +171,23 @@ @@ -171,18 +171,23 @@
@ -54,5 +54,5 @@ index cfc0e12046..65f1397cd6 100644
# include <dbus/dbus.h> # include <dbus/dbus.h>
#else #else
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 28750e29ab3549300823ff8af3c2064479e71c95 Mon Sep 17 00:00:00 2001 From 94ba6e5a623a81ee02f6b7a46b7e82f4ea505f4f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 18:28:10 +0200 Date: Fri, 2 Jun 2017 18:28:10 +0200
Subject: [PATCH 10/33] Don't try to use debug version of D-Bus library Subject: [PATCH 10/34] Don't try to use debug version of D-Bus library
Required for a debug build of Qt because mingw-w64-dbus Required for a debug build of Qt because mingw-w64-dbus
does not contain debug version does not contain debug version
@ -12,7 +12,7 @@ Change-Id: Ic34e1025fda55f9659e065f5bbe9d51f55420adb
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.json b/configure.json diff --git a/configure.json b/configure.json
index 55c56369ba..9914bf0487 100644 index 108619634c..d668ce0c98 100644
--- a/configure.json --- a/configure.json
+++ b/configure.json +++ b/configure.json
@@ -184,7 +184,7 @@ @@ -184,7 +184,7 @@
@ -25,5 +25,5 @@ index 55c56369ba..9914bf0487 100644
}, },
"condition": "config.win32 && features.shared" "condition": "config.win32 && features.shared"
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From e7e7c7500e07d5d1eaa69550ac6c760e55e857a4 Mon Sep 17 00:00:00 2001 From 6e4e751d6f39c6869cacb6d4148f5358f58bb54e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Fri, 3 Feb 2017 20:51:19 +0100 Date: Fri, 3 Feb 2017 20:51:19 +0100
Subject: [PATCH 11/33] Fix linking against static freetype2 Subject: [PATCH 11/34] Fix linking against static freetype2
--- ---
src/gui/configure.json | 7 +++++-- src/gui/configure.json | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-) 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 7e9148500b..27f8257c18 100644 index 4ca919c6da..5d524b1d73 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -156,8 +156,11 @@ @@ -158,8 +158,11 @@
] ]
}, },
"sources": [ "sources": [
@ -26,5 +26,5 @@ index 7e9148500b..27f8257c18 100644
}, },
"fontconfig": { "fontconfig": {
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From 38b3a06ebd65bab1765c95537eb8503286e31754 Mon Sep 17 00:00:00 2001 From e05dcf0fb89c0ab64aba0f3a53986daa6a0bed76 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:22:56 +0200 Date: Sun, 18 Sep 2016 14:22:56 +0200
Subject: [PATCH 12/33] Fix linking against static harfbuzz Subject: [PATCH 12/34] Fix linking against static harfbuzz
--- ---
src/gui/configure.json | 6 +++++- src/gui/configure.json | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-) 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gui/configure.json b/src/gui/configure.json diff --git a/src/gui/configure.json b/src/gui/configure.json
index 27f8257c18..1a87110831 100644 index 5d524b1d73..78f1b90d37 100644
--- a/src/gui/configure.json --- a/src/gui/configure.json
+++ b/src/gui/configure.json +++ b/src/gui/configure.json
@@ -221,7 +221,11 @@ @@ -223,7 +223,11 @@
] ]
}, },
"sources": [ "sources": [
@ -25,5 +25,5 @@ index 27f8257c18..1a87110831 100644
}, },
"imf": { "imf": {
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From f5a1650b08d90f854b1b8eb12c0e6b9a5c3f5cc4 Mon Sep 17 00:00:00 2001 From 9e7f8734086cc4a2dd7f6e713076af64648802f7 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:24:01 +0200 Date: Sun, 18 Sep 2016 14:24:01 +0200
Subject: [PATCH 13/33] Fix linking against static pcre Subject: [PATCH 13/34] Fix linking against static pcre
Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1 Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
--- ---
@ -9,7 +9,7 @@ Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp
index 88b696f53a..afe444027e 100644 index 86bc99716d..5037ae68a1 100644
--- a/src/corelib/tools/qregularexpression.cpp --- a/src/corelib/tools/qregularexpression.cpp
+++ b/src/corelib/tools/qregularexpression.cpp +++ b/src/corelib/tools/qregularexpression.cpp
@@ -55,6 +55,10 @@ @@ -55,6 +55,10 @@
@ -24,5 +24,5 @@ index 88b696f53a..afe444027e 100644
#include <pcre2.h> #include <pcre2.h>
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From a1d177d63fb62d1bb77225fd90c5eb2883322a26 Mon Sep 17 00:00:00 2001 From 8d8e5c1df2e366ba3c595970813caf98768a140f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:56:55 +0200 Date: Sun, 18 Sep 2016 18:56:55 +0200
Subject: [PATCH 14/33] Fix linking against shared/static MariaDB Subject: [PATCH 14/34] Fix linking against shared/static MariaDB
Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b
--- ---
@ -23,5 +23,5 @@ index 234f880579..4619db4a54 100644
{ "type": "mysqlConfig", "query": "--libs", "cleanlibs": true }, { "type": "mysqlConfig", "query": "--libs", "cleanlibs": true },
{ "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false }, { "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 603ca5161d67e72432128a21478bd623d8b973c2 Mon Sep 17 00:00:00 2001 From fd736054ec03ad328b1e8c4195184f286655040e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:58:25 +0200 Date: Sun, 18 Sep 2016 18:58:25 +0200
Subject: [PATCH 15/33] Fix linking against shared/static PostgreSQL Subject: [PATCH 15/34] Fix linking against shared/static PostgreSQL
--- ---
src/plugins/sqldrivers/configure.json | 5 +++-- src/plugins/sqldrivers/configure.json | 5 +++--
@ -25,5 +25,5 @@ index 4619db4a54..ef0d45f6cc 100644
] ]
}, },
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eed57ae8b6b9a2a8a6183751f08f16c9921bf32b Mon Sep 17 00:00:00 2001 From 15f3d49456695caeb91f1e861730883aea04ca5f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:25:40 +0200 Date: Sun, 18 Sep 2016 14:25:40 +0200
Subject: [PATCH 16/33] Rename qtmain to qt5main Subject: [PATCH 16/34] Rename qtmain to qt5main
Prevents conflict with mingw-w64-qt4 package Prevents conflict with mingw-w64-qt4 package
--- ---
@ -52,5 +52,5 @@ index 4140ae48de..9ae73db74b 100644
CONFIG += static CONFIG += static
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From b5a1c1909c58b62705f1ff46adfac40ed26b0f5d Mon Sep 17 00:00:00 2001 From 366c764b927e568c75968ae92ec16caca54c0d31 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 14:27:28 +0200 Date: Sun, 18 Sep 2016 14:27:28 +0200
Subject: [PATCH 17/33] Build dynamic host libraries Subject: [PATCH 17/34] Build dynamic host libraries
This came initially from Fedora, not sure whether This came initially from Fedora, not sure whether
it makes sense to keep it. Regular Arch package it makes sense to keep it. Regular Arch package
@ -14,7 +14,7 @@ Change-Id: I91a3613955c656fb0d262ccb9b2529350bab032b
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 36f632e8ca..2deec56866 100644 index c0a8dcc251..200fa40840 100644
--- a/mkspecs/features/qt_module.prf --- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf
@@ -24,7 +24,7 @@ requires(!$$skip) @@ -24,7 +24,7 @@ requires(!$$skip)
@ -37,5 +37,5 @@ index c3ed27d979..30d2114aa1 100644
-INSTALLS = lib -INSTALLS = lib
+INSTALLS += lib +INSTALLS += lib
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 7b40a97b618dda07f6e9fdaf28db958c0f5b33fc Mon Sep 17 00:00:00 2001 From b6dfc4016e7f61c1eb178b051387b08219652484 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 17:59:27 +0200 Date: Sun, 18 Sep 2016 17:59:27 +0200
Subject: [PATCH 18/33] Enable rpath for build tools Subject: [PATCH 18/34] Enable rpath for build tools
- Required because various tools depend on libQt5Bootstrap.so which resides - Required because various tools depend on libQt5Bootstrap.so which resides
in folder /usr/${_arch}/lib in folder /usr/${_arch}/lib
@ -33,5 +33,5 @@ index 883f8ca215..786f2e660c 100644
INSTALLS += target INSTALLS += target
-- --
2.14.2 2.15.1

View File

@ -1,17 +1,17 @@
From 25849eed06ade33131bb0dfa2bdb3e890b2e9ee7 Mon Sep 17 00:00:00 2001 From 012d6961a9ffbaeabf1742243b23ee092b915af2 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:04:42 +0200 Date: Sun, 18 Sep 2016 18:04:42 +0200
Subject: [PATCH 19/33] Use system zlib for build tools Subject: [PATCH 19/34] Use system zlib for build tools
--- ---
src/tools/bootstrap/bootstrap.pro | 2 +- src/tools/bootstrap/bootstrap.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro
index 521dd5f0f2..eb8cb4770c 100644 index 042ad7adb9..7e3bc3977a 100644
--- a/src/tools/bootstrap/bootstrap.pro --- a/src/tools/bootstrap/bootstrap.pro
+++ b/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro
@@ -129,7 +129,7 @@ macx { @@ -132,7 +132,7 @@ macx {
../../corelib/io/qstandardpaths_win.cpp ../../corelib/io/qstandardpaths_win.cpp
} }
@ -21,5 +21,5 @@ index 521dd5f0f2..eb8cb4770c 100644
} else { } else {
CONFIG += no_core_dep CONFIG += no_core_dep
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 98a2adad712fb0c23ad2813e1a35a793317461ad Mon Sep 17 00:00:00 2001 From 81a6a9a34e71a08fd5a8b87f44c71803d7f07797 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:20:25 +0200 Date: Sun, 18 Sep 2016 18:20:25 +0200
Subject: [PATCH 20/33] Disable determing default include and lib dirs at qmake Subject: [PATCH 20/34] Disable determing default include and lib dirs at qmake
time when building with mingw-w64 time when building with mingw-w64
--- ---
@ -9,7 +9,7 @@ Subject: [PATCH 20/33] Disable determing default include and lib dirs at qmake
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
index 35175f1744..96afeeca57 100644 index ba41598be1..6416db4d58 100644
--- a/mkspecs/features/toolchain.prf --- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf +++ b/mkspecs/features/toolchain.prf
@@ -31,7 +31,7 @@ isEmpty($${target_prefix}.INCDIRS) { @@ -31,7 +31,7 @@ isEmpty($${target_prefix}.INCDIRS) {
@ -18,9 +18,9 @@ index 35175f1744..96afeeca57 100644
# #
- gcc { - gcc {
+ !win32:gcc { + !win32:gcc {
!equals(QMAKE_HOST.os, Windows) { cmd_suffix = "<$$QMAKE_SYSTEM_NULL_DEVICE >$$QMAKE_SYSTEM_NULL_DEVICE"
cmd_prefix = "LC_ALL=C" equals(QMAKE_HOST.os, Windows): \
cmd_suffix = "</dev/null >/dev/null" cmd_prefix = "set LC_ALL=C&"
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 5cb315e62e7c4114d62767c274952c58ebe88b06 Mon Sep 17 00:00:00 2001 From 834b94ccb1897cd5325557fa6051ef2cb4bb70a0 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:26:18 +0200 Date: Sun, 18 Sep 2016 18:26:18 +0200
Subject: [PATCH 21/33] Use *.dll.a as import lib extension Subject: [PATCH 21/34] Use *.dll.a as import lib extension
The variables used here are provided by The variables used here are provided by
mingw-w64 specific mkspec mingw-w64 specific mkspec
@ -64,5 +64,5 @@ index 737f3abc3a..2e6d5d94a9 100644
+ project->first("QMAKE_EXTENSION_SHLIB")); + project->first("QMAKE_EXTENSION_SHLIB"));
project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET"); project->values("TARGET").first() = project->first("QMAKE_PREFIX_SHLIB") + project->first("TARGET");
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 0401a8dd7051a1d6aca6288fd5a5d0bef006168e Mon Sep 17 00:00:00 2001 From 4502d0a9e9102067541a4307e80444a4fb44717c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:45:08 +0200 Date: Sun, 18 Sep 2016 18:45:08 +0200
Subject: [PATCH 22/33] Merge shared and static library trees Subject: [PATCH 22/34] Merge shared and static library trees
Allow installation of shared and static build in the same prefix Allow installation of shared and static build in the same prefix
--- ---
@ -99,7 +99,7 @@ index 51ea3a8321..275e080ae4 100644
QMAKE_EXT_YACC = .y QMAKE_EXT_YACC = .y
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index c7e075b5bc..d61f7b05e5 100644 index 0d07d6c333..5e84628e72 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -3163,6 +3163,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir) @@ -3163,6 +3163,9 @@ MakefileGenerator::pkgConfigFileName(bool fixify, bool onlyPrependDestdir)
@ -126,5 +126,5 @@ index c7e075b5bc..d61f7b05e5 100644
t << endl; t << endl;
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From 6e0b658e5cadf0248954fbbf1b8271d54b9778a2 Mon Sep 17 00:00:00 2001 From f73b460094294c7cd9f9d9cd481fbf1cef5a2a49 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:32:00 +0200 Date: Sun, 18 Sep 2016 18:32:00 +0200
Subject: [PATCH 23/33] Pull dependencies of static libraries in CMake modules Subject: [PATCH 23/34] Pull dependencies of static libraries in CMake modules
When doing a static build of Qt, the dependencies of the Qt When doing a static build of Qt, the dependencies of the Qt
libraries and plugins itself must be specified when linking libraries and plugins itself must be specified when linking
@ -251,7 +251,7 @@ index 5baf0fdb10..ec5f3cc437 100644
+ +
+endif() +endif()
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index d61f7b05e5..2dd26bf4dd 100644 index 5e84628e72..c853d52b27 100644
--- a/qmake/generators/makefile.cpp --- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp
@@ -998,6 +998,13 @@ MakefileGenerator::writePrlFile(QTextStream &t) @@ -998,6 +998,13 @@ MakefileGenerator::writePrlFile(QTextStream &t)
@ -269,5 +269,5 @@ index d61f7b05e5..2dd26bf4dd 100644
} }
-- --
2.14.2 2.15.1

View File

@ -1,7 +1,7 @@
From eec4b8a76d8c5882a5fbd4e6aa85dea696049c23 Mon Sep 17 00:00:00 2001 From 903ed5730e5a25ea6fda815fcd88cc36e3d8639e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sat, 5 Aug 2017 21:14:26 +0200 Date: Sat, 5 Aug 2017 21:14:26 +0200
Subject: [PATCH 24/33] Allow usage of static version with CMake Subject: [PATCH 24/34] Allow usage of static version with CMake
Allow selecting between dynamic and static Qt versions Allow selecting between dynamic and static Qt versions
installed in the same prefix installed in the same prefix
@ -997,5 +997,5 @@ index 2a575958ae..ca0e3be3b5 100644
INTERFACE_COMPILE_DEFINITIONS QT_TESTCASE_BUILDDIR=\\\"\${CMAKE_BINARY_DIR}\\\" INTERFACE_COMPILE_DEFINITIONS QT_TESTCASE_BUILDDIR=\\\"\${CMAKE_BINARY_DIR}\\\"
) )
-- --
2.14.2 2.15.1

Some files were not shown because too many files have changed in this diff Show More