first build as submodule [release 5.15.2-2mamba;Thu Nov 04 2021]
This commit is contained in:
parent
a689167ba4
commit
8f8ee19bc6
@ -1,2 +1,5 @@
|
|||||||
# qt5-qtbase
|
# qt5-qtbase
|
||||||
|
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
21
libqt5-5.0.2-gcc-4.8.patch
Normal file
21
libqt5-5.0.2-gcc-4.8.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp.orig 2013-04-11 14:20:31.256727458 +0200
|
||||||
|
+++ qt-everywhere-opensource-src-5.0.2/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp 2013-04-11 14:21:34.184115658 +0200
|
||||||
|
@@ -94,8 +94,7 @@
|
||||||
|
|
||||||
|
#if ((_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(Q_OS_MAC) && !defined(Q_OS_INTEGRITY)) || defined(QT_BOOTSTRAPPED)
|
||||||
|
|
||||||
|
-template <>
|
||||||
|
-timeval qAbs(const timeval &t)
|
||||||
|
+timeval qAbsTimeval(const timeval &t)
|
||||||
|
{
|
||||||
|
timeval tmp = t;
|
||||||
|
if (tmp.tv_sec < 0) {
|
||||||
|
@@ -144,7 +143,7 @@
|
||||||
|
timeval tickGranularity;
|
||||||
|
tickGranularity.tv_sec = 0;
|
||||||
|
tickGranularity.tv_usec = msPerTick * 1000;
|
||||||
|
- return elapsedTimeTicks < ((qAbs(*delta) - tickGranularity) * 10);
|
||||||
|
+ return elapsedTimeTicks < ((qAbsTimeval(*delta) - tickGranularity) * 10);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
10
libqt5-5.1.1-bison-3.0.patch
Normal file
10
libqt5-5.1.1-bison-3.0.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- qt-everywhere-opensource-src-5.1.1/qtwebkit/Source/ThirdParty/ANGLE/src/compiler/glslang.y.orig 2013-08-28 23:31:54.705168894 +0200
|
||||||
|
+++ qt-everywhere-opensource-src-5.1.1/qtwebkit/Source/ThirdParty/ANGLE/src/compiler/glslang.y 2013-08-28 23:31:33.607380819 +0200
|
||||||
|
@@ -47,6 +47,7 @@
|
||||||
|
%expect 1 /* One shift reduce conflict because of if | else */
|
||||||
|
%pure-parser
|
||||||
|
%parse-param {TParseContext* context}
|
||||||
|
+%lex-param {YYLEX_PARAM}
|
||||||
|
|
||||||
|
%union {
|
||||||
|
struct {
|
38
libqt5-5.11.2-glibc-2.28.patch
Normal file
38
libqt5-5.11.2-glibc-2.28.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From f63242fbcac990839eff2ce9f970377d6350fd8a Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||||
|
Date: Tue, 21 Aug 2018 00:29:06 +0200
|
||||||
|
Subject: [PATCH] Check glibc version for renameat2/statx on non bootstrapped
|
||||||
|
build
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||||
|
---
|
||||||
|
src/corelib/io/qfilesystemengine_unix.cpp | 11 +++++++++++
|
||||||
|
1 file changed, 11 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
|
||||||
|
index deb4a9f220..ecf23168e7 100644
|
||||||
|
--- a/src/corelib/io/qfilesystemengine_unix.cpp
|
||||||
|
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
|
||||||
|
@@ -97,6 +97,17 @@ extern "C" NSString *NSTemporaryDirectory();
|
||||||
|
# define FICLONE _IOW(0x94, 9, int)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+// renameat2/statx features for non bootstrapped build
|
||||||
|
+#ifndef QT_BOOTSTRAPPED
|
||||||
|
+#ifdef __GLIBC_PREREQ
|
||||||
|
+# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1)
|
||||||
|
+# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1)
|
||||||
|
+#else
|
||||||
|
+# define QT_FEATURE_renameat2 -1
|
||||||
|
+# define QT_FEATURE_statx -1
|
||||||
|
+#endif
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
# if defined(Q_OS_ANDROID)
|
||||||
|
// renameat2() and statx() are disabled on Android because quite a few systems
|
||||||
|
// come with sandboxes that kill applications that make system calls outside a
|
10
libqt5-5.15.0-arm-missing-math-include.patch
Normal file
10
libqt5-5.15.0-arm-missing-math-include.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- qt-everywhere-src-5.15.0/qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp.orig 2020-08-28 14:38:29.793439164 +0200
|
||||||
|
+++ qt-everywhere-src-5.15.0/qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp 2020-08-28 14:38:55.462982758 +0200
|
||||||
|
@@ -43,6 +43,7 @@
|
||||||
|
#include "qimage.h"
|
||||||
|
#include "qvariant.h"
|
||||||
|
#include "qcolor.h"
|
||||||
|
+#include "math.h"
|
||||||
|
|
||||||
|
#include <jasper/jasper.h>
|
||||||
|
|
218
libqt5-5.4.1-glib-2.43.patch
Normal file
218
libqt5-5.4.1-glib-2.43.patch
Normal file
@ -0,0 +1,218 @@
|
|||||||
|
--- qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp.orig 2015-04-30 03:01:13.657572978 +0200
|
||||||
|
+++ qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2015-04-30 03:01:45.515499020 +0200
|
||||||
|
@@ -354,7 +354,7 @@
|
||||||
|
|
||||||
|
switch (propID) {
|
||||||
|
case PROP_IRADIO_MODE: {
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
priv->iradioMode = g_value_get_boolean(value);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
@@ -376,7 +376,7 @@
|
||||||
|
WebKitWebSrc* src = WEBKIT_WEB_SRC(object);
|
||||||
|
WebKitWebSrcPrivate* priv = src->priv;
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
switch (propID) {
|
||||||
|
case PROP_IRADIO_MODE:
|
||||||
|
g_value_set_boolean(value, priv->iradioMode);
|
||||||
|
@@ -429,7 +429,7 @@
|
||||||
|
|
||||||
|
ASSERT(isMainThread());
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
|
||||||
|
bool seeking = priv->seekID;
|
||||||
|
|
||||||
|
@@ -493,7 +493,7 @@
|
||||||
|
|
||||||
|
ASSERT(isMainThread());
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
|
||||||
|
priv->startID = 0;
|
||||||
|
|
||||||
|
@@ -584,7 +584,7 @@
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
switch (transition) {
|
||||||
|
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||||
|
GST_DEBUG_OBJECT(src, "READY->PAUSED");
|
||||||
|
@@ -615,7 +615,7 @@
|
||||||
|
gst_query_parse_duration(query, &format, NULL);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT(src, "duration query in format %s", gst_format_get_name(format));
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
if (format == GST_FORMAT_BYTES && src->priv->size > 0) {
|
||||||
|
gst_query_set_duration(query, format, src->priv->size);
|
||||||
|
result = TRUE;
|
||||||
|
@@ -623,7 +623,7 @@
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case GST_QUERY_URI: {
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
gst_query_set_uri(query, src->priv->uri);
|
||||||
|
result = TRUE;
|
||||||
|
break;
|
||||||
|
@@ -668,7 +668,7 @@
|
||||||
|
WebKitWebSrc* src = WEBKIT_WEB_SRC(handler);
|
||||||
|
gchar* ret;
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
ret = g_strdup(src->priv->uri);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
@@ -683,7 +683,7 @@
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
|
||||||
|
g_free(priv->uri);
|
||||||
|
priv->uri = 0;
|
||||||
|
@@ -719,7 +719,7 @@
|
||||||
|
WebKitWebSrc* src = WEBKIT_WEB_SRC(handler);
|
||||||
|
gchar* ret;
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
ret = g_strdup(src->priv->uri);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
@@ -734,7 +734,7 @@
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
|
||||||
|
g_free(priv->uri);
|
||||||
|
priv->uri = 0;
|
||||||
|
@@ -772,7 +772,7 @@
|
||||||
|
|
||||||
|
ASSERT(isMainThread());
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
// already stopped
|
||||||
|
if (!priv->needDataID)
|
||||||
|
return FALSE;
|
||||||
|
@@ -793,7 +793,7 @@
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT(src, "Need more data: %u", length);
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
if (priv->needDataID || !priv->paused) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
@@ -807,7 +807,7 @@
|
||||||
|
|
||||||
|
ASSERT(isMainThread());
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
// already stopped
|
||||||
|
if (!priv->enoughDataID)
|
||||||
|
return FALSE;
|
||||||
|
@@ -828,7 +828,7 @@
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT(src, "Have enough data");
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
if (priv->enoughDataID || priv->paused) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
@@ -842,7 +842,7 @@
|
||||||
|
|
||||||
|
ASSERT(isMainThread());
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
// already stopped
|
||||||
|
if (!priv->seekID)
|
||||||
|
return FALSE;
|
||||||
|
@@ -860,7 +860,7 @@
|
||||||
|
WebKitWebSrcPrivate* priv = src->priv;
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT(src, "Seeking to offset: %" G_GUINT64_FORMAT, offset);
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
if (offset == priv->offset && priv->requestedOffset == priv->offset)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
@@ -879,7 +879,7 @@
|
||||||
|
void webKitWebSrcSetMediaPlayer(WebKitWebSrc* src, WebCore::MediaPlayer* player)
|
||||||
|
{
|
||||||
|
ASSERT(player);
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
src->priv->player = player;
|
||||||
|
s_cachedResourceLoader = player->cachedResourceLoader();
|
||||||
|
}
|
||||||
|
@@ -906,7 +906,7 @@
|
||||||
|
mapGstBuffer(buffer);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
priv->buffer = adoptGRef(buffer);
|
||||||
|
locker.unlock();
|
||||||
|
|
||||||
|
@@ -921,7 +921,7 @@
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT(src, "Received response: %d", response.httpStatusCode());
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
|
||||||
|
// If we seeked we need 206 == PARTIAL_CONTENT
|
||||||
|
if (priv->requestedOffset && response.httpStatusCode() != 206) {
|
||||||
|
@@ -1020,7 +1020,7 @@
|
||||||
|
WebKitWebSrc* src = WEBKIT_WEB_SRC(m_src.get());
|
||||||
|
WebKitWebSrcPrivate* priv = src->priv;
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
|
||||||
|
GST_LOG_OBJECT(src, "Have %d bytes of data", priv->buffer ? getGstBufferSize(priv->buffer.get()) : length);
|
||||||
|
|
||||||
|
@@ -1074,7 +1074,7 @@
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT(src, "Have EOS");
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
if (!priv->seekID) {
|
||||||
|
locker.unlock();
|
||||||
|
gst_app_src_end_of_stream(priv->appsrc);
|
||||||
|
@@ -1210,7 +1210,7 @@
|
||||||
|
|
||||||
|
GST_ERROR_OBJECT(src, "Request was blocked");
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
uri.set(g_strdup(src->priv->uri));
|
||||||
|
locker.unlock();
|
||||||
|
|
||||||
|
@@ -1224,7 +1224,7 @@
|
||||||
|
|
||||||
|
GST_ERROR_OBJECT(src, "Cannot show URL");
|
||||||
|
|
||||||
|
- GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
|
||||||
|
uri.set(g_strdup(src->priv->uri));
|
||||||
|
locker.unlock();
|
||||||
|
|
38
libqt5-5.5.1-vlc.patch
Normal file
38
libqt5-5.5.1-vlc.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 0f68f8920573cdce1729a285a92ac8582df32841 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
||||||
|
Date: Tue, 27 Oct 2015 15:25:42 +0100
|
||||||
|
Subject: QtWidgets: Do hide/show via WA_OutsideWSRange for native widgets
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
If a native widget has a width or height of 0 we don't have to
|
||||||
|
invalidate its backing store as that is done by the window
|
||||||
|
system. Certain applications rely on ... interesting ... behavior
|
||||||
|
of certain window systems in this case.
|
||||||
|
|
||||||
|
Task-number: QTBUG-48321
|
||||||
|
Change-Id: I78ef29975181ee22429c9bd4b11d96d9e68b7a9c
|
||||||
|
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
|
||||||
|
Reviewed-by: Alexander Volkov <a.volkov@rusbitech.ru>
|
||||||
|
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
|
||||||
|
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
|
||||||
|
---
|
||||||
|
src/widgets/kernel/qwidget.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
|
||||||
|
index 7734715..4286130 100644
|
||||||
|
--- a/src/widgets/kernel/qwidget.cpp
|
||||||
|
+++ b/src/widgets/kernel/qwidget.cpp
|
||||||
|
@@ -7169,7 +7169,7 @@ void QWidgetPrivate::setGeometry_sys(int x, int y, int w, int h, bool isMove)
|
||||||
|
|
||||||
|
bool needsShow = false;
|
||||||
|
|
||||||
|
- if (q->isWindow()) {
|
||||||
|
+ if (q->isWindow() || q->windowHandle()) {
|
||||||
|
if (!(data.window_state & Qt::WindowFullScreen) && (w == 0 || h == 0)) {
|
||||||
|
q->setAttribute(Qt::WA_OutsideWSRange, true);
|
||||||
|
if (q->isVisible() && q->testAttribute(Qt::WA_Mapped))
|
||||||
|
--
|
||||||
|
2.6.3
|
5
libqt5-development-qt5.directory
Normal file
5
libqt5-development-qt5.directory
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Qt5
|
||||||
|
Icon=qt5-logo
|
||||||
|
SortOrder=
|
10
libqt5-development-qt5.menu
Normal file
10
libqt5-development-qt5.menu
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
|
||||||
|
<Menu><Name>Applications</Name>
|
||||||
|
<Menu><Name>Development</Name>
|
||||||
|
<Menu><Name>Qt5</Name>
|
||||||
|
<Directory>development-qt5.directory</Directory>
|
||||||
|
<Include><Category>X-Development-Qt5</Category></Include>
|
||||||
|
</Menu>
|
||||||
|
</Menu>
|
||||||
|
</Menu>
|
9
libqt5-profile.csh
Normal file
9
libqt5-profile.csh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Qt5 environment definitions
|
||||||
|
|
||||||
|
set qt5_prefix=/usr/lib/qt5
|
||||||
|
|
||||||
|
if ( "$QTDIR" == '' ) then
|
||||||
|
setenv QTDIR $qt5_prefix
|
||||||
|
endif
|
||||||
|
|
||||||
|
setenv QT5DIR $qt5_prefix
|
10
libqt5-profile.sh
Normal file
10
libqt5-profile.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Qt5 environment definitions
|
||||||
|
|
||||||
|
qt5_prefix=/usr/lib/qt5
|
||||||
|
|
||||||
|
if [ -z "$QTDIR" ]; then
|
||||||
|
QTDIR="$qt5_prefix"
|
||||||
|
export QTDIR
|
||||||
|
fi
|
||||||
|
|
||||||
|
QT5DIR="$qt5_prefix"
|
BIN
libqt5-qt5logo-icon64x64.png
Normal file
BIN
libqt5-qt5logo-icon64x64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
171
qt5-qtbase-5.15.2-gcc11.patch
Normal file
171
qt5-qtbase-5.15.2-gcc11.patch
Normal file
@ -0,0 +1,171 @@
|
|||||||
|
diff --git a/src/corelib/codecs/qtextcodec.cpp b/src/corelib/codecs/qtextcodec.cpp
|
||||||
|
index 06fd88da..dbff3239 100644
|
||||||
|
--- a/src/corelib/codecs/qtextcodec.cpp
|
||||||
|
+++ b/src/corelib/codecs/qtextcodec.cpp
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qplatformdefs.h"
|
||||||
|
|
||||||
|
#include "qtextcodec.h"
|
||||||
|
diff --git a/src/corelib/codecs/qutfcodec.cpp b/src/corelib/codecs/qutfcodec.cpp
|
||||||
|
index 8561f908..8128d3cf 100644
|
||||||
|
--- a/src/corelib/codecs/qutfcodec.cpp
|
||||||
|
+++ b/src/corelib/codecs/qutfcodec.cpp
|
||||||
|
@@ -38,6 +38,8 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
#include "qutfcodec_p.h"
|
||||||
|
#include "qlist.h"
|
||||||
|
#include "qendian.h"
|
||||||
|
diff --git a/src/corelib/global/qendian.cpp b/src/corelib/global/qendian.cpp
|
||||||
|
index eb08b2f8..6b41b3dd 100644
|
||||||
|
--- a/src/corelib/global/qendian.cpp
|
||||||
|
+++ b/src/corelib/global/qendian.cpp
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qendian.h"
|
||||||
|
|
||||||
|
#include "qalgorithms.h"
|
||||||
|
diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp
|
||||||
|
index c9733174..c62a1972 100644
|
||||||
|
--- a/src/corelib/global/qfloat16.cpp
|
||||||
|
+++ b/src/corelib/global/qfloat16.cpp
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qfloat16.h"
|
||||||
|
#include "private/qsimd_p.h"
|
||||||
|
#include <cmath> // for fpclassify()'s return values
|
||||||
|
diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp
|
||||||
|
index 10672c1f..6d5fd63e 100644
|
||||||
|
--- a/src/corelib/global/qrandom.cpp
|
||||||
|
+++ b/src/corelib/global/qrandom.cpp
|
||||||
|
@@ -40,6 +40,7 @@
|
||||||
|
// for rand_s
|
||||||
|
#define _CRT_RAND_S
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qrandom.h"
|
||||||
|
#include "qrandom_p.h"
|
||||||
|
#include <qobjectdefs.h>
|
||||||
|
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp
|
||||||
|
index 13eee353..9e7a7a41 100644
|
||||||
|
--- a/src/corelib/plugin/qelfparser_p.cpp
|
||||||
|
+++ b/src/corelib/plugin/qelfparser_p.cpp
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qelfparser_p.h"
|
||||||
|
|
||||||
|
#if defined (Q_OF_ELF) && defined(Q_CC_GNU)
|
||||||
|
diff --git a/src/corelib/plugin/qmachparser.cpp b/src/corelib/plugin/qmachparser.cpp
|
||||||
|
index 11670caf..39f5596b 100644
|
||||||
|
--- a/src/corelib/plugin/qmachparser.cpp
|
||||||
|
+++ b/src/corelib/plugin/qmachparser.cpp
|
||||||
|
@@ -37,6 +37,8 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
#include "qmachparser_p.h"
|
||||||
|
|
||||||
|
#if defined(Q_OF_MACH_O)
|
||||||
|
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
|
||||||
|
index 83873edf..5aafb4e5 100644
|
||||||
|
--- a/src/corelib/plugin/quuid.cpp
|
||||||
|
+++ b/src/corelib/plugin/quuid.cpp
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "quuid.h"
|
||||||
|
|
||||||
|
#include "qcryptographichash.h"
|
||||||
|
diff --git a/src/corelib/serialization/qdatastream.cpp b/src/corelib/serialization/qdatastream.cpp
|
||||||
|
index 5082a8cb..7eecfcca 100644
|
||||||
|
--- a/src/corelib/serialization/qdatastream.cpp
|
||||||
|
+++ b/src/corelib/serialization/qdatastream.cpp
|
||||||
|
@@ -40,6 +40,8 @@
|
||||||
|
#include "qdatastream.h"
|
||||||
|
#include "qdatastream_p.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
#if !defined(QT_NO_DATASTREAM) || defined(QT_BOOTSTRAPPED)
|
||||||
|
#include "qbuffer.h"
|
||||||
|
#include "qfloat16.h"
|
||||||
|
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp
|
||||||
|
index 9a72df58..6651ee98 100644
|
||||||
|
--- a/src/corelib/text/qbytearray.cpp
|
||||||
|
+++ b/src/corelib/text/qbytearray.cpp
|
||||||
|
@@ -39,6 +39,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qbytearray.h"
|
||||||
|
#include "qbytearraymatcher.h"
|
||||||
|
#include "private/qtools_p.h"
|
||||||
|
diff --git a/src/corelib/text/qbytearraymatcher.cpp b/src/corelib/text/qbytearraymatcher.cpp
|
||||||
|
index 72e09226..80511cb5 100644
|
||||||
|
--- a/src/corelib/text/qbytearraymatcher.cpp
|
||||||
|
+++ b/src/corelib/text/qbytearraymatcher.cpp
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qbytearraymatcher.h"
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
diff --git a/src/corelib/tools/qbitarray.cpp b/src/corelib/tools/qbitarray.cpp
|
||||||
|
index ab3054d5..22efb3a0 100644
|
||||||
|
--- a/src/corelib/tools/qbitarray.cpp
|
||||||
|
+++ b/src/corelib/tools/qbitarray.cpp
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qbitarray.h"
|
||||||
|
#include <qalgorithms.h>
|
||||||
|
#include <qdatastream.h>
|
||||||
|
diff --git a/src/corelib/tools/qcryptographichash.cpp b/src/corelib/tools/qcryptographichash.cpp
|
||||||
|
index fa8d21e0..cd85956d 100644
|
||||||
|
--- a/src/corelib/tools/qcryptographichash.cpp
|
||||||
|
+++ b/src/corelib/tools/qcryptographichash.cpp
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include <qcryptographichash.h>
|
||||||
|
#include <qiodevice.h>
|
||||||
|
|
||||||
|
diff --git a/src/gui/text/qfontengine_qpf2.cpp b/src/gui/text/qfontengine_qpf2.cpp
|
||||||
|
index e00f9d05..917ab5f9 100644
|
||||||
|
--- a/src/gui/text/qfontengine_qpf2.cpp
|
||||||
|
+++ b/src/gui/text/qfontengine_qpf2.cpp
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include "qfontengine_qpf2_p.h"
|
||||||
|
|
||||||
|
#include <QtCore/QFile>
|
1206
qt5-qtbase.spec
Normal file
1206
qt5-qtbase.spec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user