mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
build: Bump Qt to 5.15.5 in depends
This commit is contained in:
parent
6745e3693e
commit
ecb617fefe
@ -109,9 +109,9 @@ task:
|
|||||||
VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
|
VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
|
||||||
CCACHE_DIR: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
|
CCACHE_DIR: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
|
||||||
WRAPPED_CL: 'C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\ci\test\wrapped-cl.bat'
|
WRAPPED_CL: 'C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\ci\test\wrapped-cl.bat'
|
||||||
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.3/single/qt-everywhere-opensource-src-5.15.3.zip'
|
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.zip'
|
||||||
QT_LOCAL_PATH: 'C:\qt-everywhere-opensource-src-5.15.3.zip'
|
QT_LOCAL_PATH: 'C:\qt-everywhere-opensource-src-5.15.5.zip'
|
||||||
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.3'
|
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.5'
|
||||||
QTBASEDIR: 'C:\Qt_static'
|
QTBASEDIR: 'C:\Qt_static'
|
||||||
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
|
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
|
||||||
QT_CONFIGURE_COMMAND: '..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml'
|
QT_CONFIGURE_COMMAND: '..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml'
|
||||||
|
@ -30,7 +30,7 @@ Qt
|
|||||||
---------------------
|
---------------------
|
||||||
To build Bitcoin Core with the GUI, a static build of Qt is required.
|
To build Bitcoin Core with the GUI, a static build of Qt is required.
|
||||||
|
|
||||||
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-opensource-src-5.15.3.zip`](https://download.qt.io/official_releases/qt/5.15/5.15.3/single/qt-everywhere-opensource-src-5.15.3.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
|
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-opensource-src-5.15.5.zip`](https://download.qt.io/official_releases/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
|
||||||
|
|
||||||
2. Open "x64 Native Tools Command Prompt for VS 2022", and input the following commands:
|
2. Open "x64 Native Tools Command Prompt for VS 2022", and input the following commands:
|
||||||
```cmd
|
```cmd
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package=qt
|
package=qt
|
||||||
$(package)_version=5.15.3
|
$(package)_version=5.15.5
|
||||||
$(package)_download_path=https://download.qt.io/official_releases/qt/5.15/$($(package)_version)/submodules
|
$(package)_download_path=https://download.qt.io/official_releases/qt/5.15/$($(package)_version)/submodules
|
||||||
$(package)_suffix=everywhere-opensource-src-$($(package)_version).tar.xz
|
$(package)_suffix=everywhere-opensource-src-$($(package)_version).tar.xz
|
||||||
$(package)_file_name=qtbase-$($(package)_suffix)
|
$(package)_file_name=qtbase-$($(package)_suffix)
|
||||||
$(package)_sha256_hash=26394ec9375d52c1592bd7b689b1619c6b8dbe9b6f91fdd5c355589787f3a0b6
|
$(package)_sha256_hash=0c42c799aa7c89e479a07c451bf5a301e291266ba789e81afc18f95049524edc
|
||||||
$(package)_linux_dependencies=freetype fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
|
$(package)_linux_dependencies=freetype fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
|
||||||
$(package)_qt_libs=corelib network widgets gui plugins testlib
|
$(package)_qt_libs=corelib network widgets gui plugins testlib
|
||||||
$(package)_linguist_tools = lrelease lupdate lconvert
|
$(package)_linguist_tools = lrelease lupdate lconvert
|
||||||
@ -17,17 +17,16 @@ $(package)_patches += fix_montery_include.patch
|
|||||||
$(package)_patches += fix_android_jni_static.patch
|
$(package)_patches += fix_android_jni_static.patch
|
||||||
$(package)_patches += dont_hardcode_pwd.patch
|
$(package)_patches += dont_hardcode_pwd.patch
|
||||||
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch
|
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch
|
||||||
$(package)_patches += fix_limits_header.patch
|
|
||||||
$(package)_patches += use_android_ndk23.patch
|
$(package)_patches += use_android_ndk23.patch
|
||||||
$(package)_patches += rcc_hardcode_timestamp.patch
|
$(package)_patches += rcc_hardcode_timestamp.patch
|
||||||
$(package)_patches += duplicate_lcqpafonts.patch
|
$(package)_patches += duplicate_lcqpafonts.patch
|
||||||
$(package)_patches += fast_fixed_dtoa_no_optimize.patch
|
$(package)_patches += fast_fixed_dtoa_no_optimize.patch
|
||||||
|
|
||||||
$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix)
|
$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix)
|
||||||
$(package)_qttranslations_sha256_hash=5d7869f670a135ad0986e266813b9dd5bbae2b09577338f9cdf8904d4af52db0
|
$(package)_qttranslations_sha256_hash=c92af4171397a0ed272330b4fa0669790fcac8d050b07c8b8cc565ebeba6735e
|
||||||
|
|
||||||
$(package)_qttools_file_name=qttools-$($(package)_suffix)
|
$(package)_qttools_file_name=qttools-$($(package)_suffix)
|
||||||
$(package)_qttools_sha256_hash=463b2fe71a085e7ab4e39333ae360ab0ec857b966d7a08f752c427e5df55f90d
|
$(package)_qttools_sha256_hash=6d0778b71b2742cb527561791d1d3d255366163d54a10f78c683a398f09ffc6c
|
||||||
|
|
||||||
$(package)_extra_sources = $($(package)_qttranslations_file_name)
|
$(package)_extra_sources = $($(package)_qttranslations_file_name)
|
||||||
$(package)_extra_sources += $($(package)_qttools_file_name)
|
$(package)_extra_sources += $($(package)_qttools_file_name)
|
||||||
@ -248,7 +247,6 @@ define $(package)_preprocess_cmds
|
|||||||
patch -p1 -i $($(package)_patch_dir)/no-xlib.patch && \
|
patch -p1 -i $($(package)_patch_dir)/no-xlib.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_x86_64.patch && \
|
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_x86_64.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase-moc-ignore-gcc-macro.patch && \
|
patch -p1 -i $($(package)_patch_dir)/qtbase-moc-ignore-gcc-macro.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/fix_limits_header.patch && \
|
|
||||||
patch -p1 -i $($(package)_patch_dir)/fix_montery_include.patch && \
|
patch -p1 -i $($(package)_patch_dir)/fix_montery_include.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/use_android_ndk23.patch && \
|
patch -p1 -i $($(package)_patch_dir)/use_android_ndk23.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/rcc_hardcode_timestamp.patch && \
|
patch -p1 -i $($(package)_patch_dir)/rcc_hardcode_timestamp.patch && \
|
||||||
|
@ -73,7 +73,7 @@ diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/defaul
|
|||||||
index 92a9112bca6..d888731ec8d 100644
|
index 92a9112bca6..d888731ec8d 100644
|
||||||
--- old/qtbase/mkspecs/features/mac/default_post.prf
|
--- old/qtbase/mkspecs/features/mac/default_post.prf
|
||||||
+++ new/qtbase/mkspecs/features/mac/default_post.prf
|
+++ new/qtbase/mkspecs/features/mac/default_post.prf
|
||||||
@@ -90,6 +90,11 @@ app_extension_api_only {
|
@@ -95,6 +95,11 @@ app_extension_api_only {
|
||||||
QMAKE_LFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
|
QMAKE_LFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ index 92a9112bca6..d888731ec8d 100644
|
|||||||
macx-xcode {
|
macx-xcode {
|
||||||
qmake_pkginfo_typeinfo.name = QMAKE_PKGINFO_TYPEINFO
|
qmake_pkginfo_typeinfo.name = QMAKE_PKGINFO_TYPEINFO
|
||||||
!isEmpty(QMAKE_PKGINFO_TYPEINFO): \
|
!isEmpty(QMAKE_PKGINFO_TYPEINFO): \
|
||||||
@@ -145,9 +150,6 @@ macx-xcode {
|
@@ -150,9 +155,6 @@ macx-xcode {
|
||||||
simulator: VALID_SIMULATOR_ARCHS = $$QMAKE_APPLE_SIMULATOR_ARCHS
|
simulator: VALID_SIMULATOR_ARCHS = $$QMAKE_APPLE_SIMULATOR_ARCHS
|
||||||
VALID_ARCHS = $$VALID_DEVICE_ARCHS $$VALID_SIMULATOR_ARCHS
|
VALID_ARCHS = $$VALID_DEVICE_ARCHS $$VALID_SIMULATOR_ARCHS
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- old/qtbase/src/plugins/platforms/android/androidjnimain.cpp
|
--- old/qtbase/src/plugins/platforms/android/androidjnimain.cpp
|
||||||
+++ new/qtbase/src/plugins/platforms/android/androidjnimain.cpp
|
+++ new/qtbase/src/plugins/platforms/android/androidjnimain.cpp
|
||||||
@@ -934,6 +934,14 @@ Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void */*reserved*/)
|
@@ -943,6 +943,14 @@ Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void */*reserved*/)
|
||||||
__android_log_print(ANDROID_LOG_FATAL, "Qt", "registerNatives failed");
|
__android_log_print(ANDROID_LOG_FATAL, "Qt", "registerNatives failed");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
Fix compiling with GCC 11
|
|
||||||
|
|
||||||
Upstream:
|
|
||||||
- bug report: https://bugreports.qt.io/browse/QTBUG-89977
|
|
||||||
- fix in Qt 6.1: 813a928c7c3cf98670b6043149880ed5c955efb9
|
|
||||||
|
|
||||||
--- old/qtbase/src/corelib/text/qbytearraymatcher.h
|
|
||||||
+++ new/qtbase/src/corelib/text/qbytearraymatcher.h
|
|
||||||
@@ -42,6 +42,8 @@
|
|
||||||
|
|
||||||
#include <QtCore/qbytearray.h>
|
|
||||||
|
|
||||||
+#include <limits>
|
|
||||||
+
|
|
||||||
QT_BEGIN_NAMESPACE
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Upstream fix and backports:
|
|
||||||
- Qt 6.1: 3eab20ad382569cb2c9e6ccec2322c3d08c0f716
|
|
||||||
- Qt 6.2: 380294a5971da85010a708dc23b0edec192cbf27
|
|
||||||
- Qt 6.3: 2b2b3155d9f6ba1e4f859741468fbc47db09292b
|
|
||||||
|
|
||||||
--- old/qtbase/src/corelib/tools/qoffsetstringarray_p.h
|
|
||||||
+++ new/qtbase/src/corelib/tools/qoffsetstringarray_p.h
|
|
||||||
@@ -55,6 +55,7 @@
|
|
||||||
|
|
||||||
#include <tuple>
|
|
||||||
#include <array>
|
|
||||||
+#include <limits>
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
|
||||||
|
|
@ -30,7 +30,7 @@ You can find installation instructions in the `build-*.md` file for your platfor
|
|||||||
| [Fontconfig](../depends/packages/fontconfig.mk) | [link](https://www.freedesktop.org/wiki/Software/fontconfig/) | [2.12.6](https://github.com/bitcoin/bitcoin/pull/23495) | 2.6 | Yes |
|
| [Fontconfig](../depends/packages/fontconfig.mk) | [link](https://www.freedesktop.org/wiki/Software/fontconfig/) | [2.12.6](https://github.com/bitcoin/bitcoin/pull/23495) | 2.6 | Yes |
|
||||||
| [FreeType](../depends/packages/freetype.mk) | [link](https://freetype.org) | [2.11.0](https://github.com/bitcoin/bitcoin/commit/01544dd78ccc0b0474571da854e27adef97137fb) | 2.3.0 | Yes |
|
| [FreeType](../depends/packages/freetype.mk) | [link](https://freetype.org) | [2.11.0](https://github.com/bitcoin/bitcoin/commit/01544dd78ccc0b0474571da854e27adef97137fb) | 2.3.0 | Yes |
|
||||||
| [qrencode](../depends/packages/qrencode.mk) | [link](https://fukuchi.org/works/qrencode/) | [3.4.4](https://github.com/bitcoin/bitcoin/pull/6373) | | No |
|
| [qrencode](../depends/packages/qrencode.mk) | [link](https://fukuchi.org/works/qrencode/) | [3.4.4](https://github.com/bitcoin/bitcoin/pull/6373) | | No |
|
||||||
| [Qt](../depends/packages/qt.mk) | [link](https://download.qt.io/official_releases/qt/) | [5.15.3](https://github.com/bitcoin/bitcoin/pull/24668) | [5.11.3](https://github.com/bitcoin/bitcoin/pull/24132) | No |
|
| [Qt](../depends/packages/qt.mk) | [link](https://download.qt.io/official_releases/qt/) | [5.15.5](https://github.com/bitcoin/bitcoin/pull/25719) | [5.11.3](https://github.com/bitcoin/bitcoin/pull/24132) | No |
|
||||||
|
|
||||||
### Networking
|
### Networking
|
||||||
| Dependency | Releases | Version used | Minimum required | Runtime |
|
| Dependency | Releases | Version used | Minimum required | Runtime |
|
||||||
|
Loading…
Reference in New Issue
Block a user