annotate src/qtbase-1-fixes.patch @ 5281:9057112edb8e

* installer-files/post-install.bat: create qt.conf (Bug #57679)
author John Donoghue
date Wed, 29 Jan 2020 08:34:50 -0500
parents db6f82a0f476
children 4fb7aa43ba15
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4310
2c34ec679fb3 qt5: update to 5.7.1
John D
parents: 4222
diff changeset
1 This file is part of MXE. See LICENSE.md for licensing information.
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
2
5250
db6f82a0f476 Qt5: Update to 5.14.0
John Donoghue <john.donoghue@ieee.org>
parents: 5199
diff changeset
3 From 7c5ba14d5b42334edb6a70239cf231f847f508ef Mon Sep 17 00:00:00 2001
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
4 From: Ray Donnelly <mingw.android@gmail.com>
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
5 Date: Wed, 26 Aug 2015 12:45:43 +0100
5250
db6f82a0f476 Qt5: Update to 5.14.0
John Donoghue <john.donoghue@ieee.org>
parents: 5199
diff changeset
6 Subject: [PATCH 1/2] cmake: Rearrange STATIC vs INTERFACE targets
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
7
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
8 Otherwise we attempt to add_library(Qt5::UiPlugin STATIC IMPORTED)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
9 for header-only modules when building Qt5 statically.
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
10
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
11 Source: https://git.io/vzWJz
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
12 See also: https://github.com/mxe/mxe/issues/1185
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
13
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
14 diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
5250
db6f82a0f476 Qt5: Update to 5.14.0
John Donoghue <john.donoghue@ieee.org>
parents: 5199
diff changeset
15 index 364c23e750..c90dd302cf 100644
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
16 --- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
17 +++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
5250
db6f82a0f476 Qt5: Update to 5.14.0
John Donoghue <john.donoghue@ieee.org>
parents: 5199
diff changeset
18 @@ -343,6 +343,9 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
19 list(APPEND _Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES \"$${CMAKE_INTERFACE_QT5_MODULE_DEPS}\")
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
20 !!ENDIF
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
21
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
22 +!!IF equals(TEMPLATE, aux)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
23 + add_library(Qt5::$${CMAKE_MODULE_NAME} INTERFACE IMPORTED)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
24 +!!ELSE
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
25 !!IF !isEmpty(CMAKE_STATIC_TYPE)
5099
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
26 if(NOT Qt5_EXCLUDE_STATIC_DEPENDENCIES)
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
27 !!IF !isEmpty(CMAKE_DEBUG_TYPE)
5250
db6f82a0f476 Qt5: Update to 5.14.0
John Donoghue <john.donoghue@ieee.org>
parents: 5199
diff changeset
28 @@ -380,9 +383,6 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
5099
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
29
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
30 add_library(Qt5::$${CMAKE_MODULE_NAME} STATIC IMPORTED)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
31 set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} PROPERTY IMPORTED_LINK_INTERFACE_LANGUAGES "CXX")
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
32 -!!ELSE
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
33 -!!IF equals(TEMPLATE, aux)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
34 - add_library(Qt5::$${CMAKE_MODULE_NAME} INTERFACE IMPORTED)
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
35 !!ELSE
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
36 add_library(Qt5::$${CMAKE_MODULE_NAME} SHARED IMPORTED)
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
37 !!ENDIF
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
38 --
5099
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
39 2.20.1
4222
44b1a9b2193e qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
diff changeset
40
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
41 diff -ur qtbase-everywhere-src-5.11.0.orig/mkspecs/common/gcc-base.conf qtbase-everywhere-src-5.11.0/mkspecs/common/gcc-base.conf
4956
ddd66d48a646 Update qt5 to v5.12.1
John D
parents: 4900
diff changeset
42 --- qtbase-everywhere-src-5.11.0.orig/mkspecs/common/gcc-base.conf 2018-06-12 07:47:54.488874295 -0400
ddd66d48a646 Update qt5 to v5.12.1
John D
parents: 4900
diff changeset
43 +++ qtbase-everywhere-src-5.11.0/mkspecs/common/gcc-base.conf 2018-06-12 07:48:46.550096817 -0400
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
44 @@ -46,7 +46,7 @@
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
45 QMAKE_CFLAGS_SHLIB += $$QMAKE_CFLAGS_PIC
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
46 QMAKE_CFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_PIC
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
47 QMAKE_CFLAGS_APP += $$QMAKE_CFLAGS_PIC
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
48 -QMAKE_CFLAGS_ISYSTEM = -isystem
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
49 +QMAKE_CFLAGS_ISYSTEM = -I
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
50 QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
51 QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4310
diff changeset
52 QMAKE_CFLAGS_EXCEPTIONS_OFF += -fno-exceptions
5099
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
53 diff -ur qtbase-everywhere-src-5.13.0.orig/src/plugins/platforms/minimal/qminimalintegration.cpp qtbase-everywhere-src-5.13.0/src/plugins/platforms/minimal/qminimalintegration.cpp
5199
8a2080f70075 Update qt5 to 5.13.2
John Donoghue
parents: 5161
diff changeset
54 --- qtbase-everywhere-src-5.13.0.orig/src/plugins/platforms/minimal/qminimalintegration.cpp 2019-06-21 13:24:11.167038403 -0400
8a2080f70075 Update qt5 to 5.13.2
John Donoghue
parents: 5161
diff changeset
55 +++ qtbase-everywhere-src-5.13.0/src/plugins/platforms/minimal/qminimalintegration.cpp 2019-06-21 13:31:33.734199370 -0400
5099
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
56 @@ -162,7 +162,11 @@
5199
8a2080f70075 Update qt5 to 5.13.2
John Donoghue
parents: 5161
diff changeset
57
5099
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
58 if (!m_fontDatabase) {
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
59 #if QT_CONFIG(fontconfig)
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
60 +# ifdef Q_OS_WIN
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
61 + m_fontDatabase = new QFreeTypeFontDatabase;
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
62 +# else
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
63 m_fontDatabase = new QGenericUnixFontDatabase;
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
64 +# endif
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
65 #else
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
66 m_fontDatabase = QPlatformIntegration::fontDatabase();
9d35f8eb1e76 qt5: update to 5.13.0
John Donoghue
parents: 4956
diff changeset
67 #endif