Sunday, September 29, 2024
HomeBitcoinQt 5.15.5 http errors throughout Bitcoin Core construct - Bitcoin Stack Trade

Qt 5.15.5 http errors throughout Bitcoin Core construct – Bitcoin Stack Trade


I am did small modifications to Bitcoin Core supply code of bitcoin/src/qt/walletmodel.cpp, the place it sends some knowledge to a distant server.

Now the issue is, I am utilizing http and when I attempt to hyperlink to http by including http to qt_libs like this (and I eliminated -no-feature-http and -no-openssl):

bundle=qt
$(bundle)_version=5.15.5
$(bundle)_download_path=https://obtain.qt.io/official_releases/qt/5.15/$($(bundle)_version)/submodules
$(bundle)_suffix=everywhere-opensource-src-$($(bundle)_version).tar.xz
$(bundle)_file_name=qtbase-$($(bundle)_suffix)
$(bundle)_sha256_hash=0c42c799aa7c89e479a07c451bf5a301e291266ba789e81afc18f95049524edc
$(bundle)_linux_dependencies=freetype fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
$(bundle)_qt_libs=corelib community widgets gui plugins testlib http
$(bundle)_linguist_tools = lrelease lupdate lconvert
$(bundle)_patches = qt.professional
$(bundle)_patches += qttools_src.professional
$(bundle)_patches += mac-qmake.conf
$(bundle)_patches += fix_qt_pkgconfig.patch
$(bundle)_patches += no-xlib.patch
$(bundle)_patches += dont_hardcode_x86_64.patch
$(bundle)_patches += fix_montery_include.patch
$(bundle)_patches += fix_android_jni_static.patch
$(bundle)_patches += dont_hardcode_pwd.patch
$(bundle)_patches += qtbase-moc-ignore-gcc-macro.patch
$(bundle)_patches += use_android_ndk23.patch
$(bundle)_patches += rcc_hardcode_timestamp.patch
$(bundle)_patches += duplicate_lcqpafonts.patch
$(bundle)_patches += fast_fixed_dtoa_no_optimize.patch
$(bundle)_patches += guix_cross_lib_path.patch
$(bundle)_patches += fix-macos-linker.patch
$(bundle)_patches += memory_resource.patch

$(bundle)_qttranslations_file_name=qttranslations-$($(bundle)_suffix)
$(bundle)_qttranslations_sha256_hash=c92af4171397a0ed272330b4fa0669790fcac8d050b07c8b8cc565ebeba6735e

$(bundle)_qttools_file_name=qttools-$($(bundle)_suffix)
$(bundle)_qttools_sha256_hash=6d0778b71b2742cb527561791d1d3d255366163d54a10f78c683a398f09ffc6c

$(bundle)_extra_sources  = $($(bundle)_qttranslations_file_name)
$(bundle)_extra_sources += $($(bundle)_qttools_file_name)

outline $(bundle)_set_vars
$(bundle)_config_opts_release = -release
$(bundle)_config_opts_release += -silent
$(bundle)_config_opts_debug = -debug
$(bundle)_config_opts_debug += -optimized-tools
$(bundle)_config_opts += -bindir $(build_prefix)/bin
$(bundle)_config_opts += -c++std c++17
$(bundle)_config_opts += -confirm-license
$(bundle)_config_opts += -hostprefix $(build_prefix)
$(bundle)_config_opts += -no-compile-examples
$(bundle)_config_opts += -no-cups
$(bundle)_config_opts += -no-egl
$(bundle)_config_opts += -no-eglfs
$(bundle)_config_opts += -no-evdev
$(bundle)_config_opts += -no-gif
$(bundle)_config_opts += -no-glib
$(bundle)_config_opts += -no-icu
$(bundle)_config_opts += -no-ico
$(bundle)_config_opts += -no-iconv
$(bundle)_config_opts += -no-kms
$(bundle)_config_opts += -no-linuxfb
$(bundle)_config_opts += -no-libjpeg
$(bundle)_config_opts += -no-libproxy
$(bundle)_config_opts += -no-libudev
$(bundle)_config_opts += -no-mimetype-database
$(bundle)_config_opts += -no-mtdev
$(bundle)_config_opts += -no-openssl
$(bundle)_config_opts += -no-openvg
$(bundle)_config_opts += -no-reduce-relocations
$(bundle)_config_opts += -no-schannel
$(bundle)_config_opts += -no-sctp
$(bundle)_config_opts += -no-securetransport
$(bundle)_config_opts += -no-sql-db2
$(bundle)_config_opts += -no-sql-ibase
$(bundle)_config_opts += -no-sql-oci
$(bundle)_config_opts += -no-sql-tds
$(bundle)_config_opts += -no-sql-mysql
$(bundle)_config_opts += -no-sql-odbc
$(bundle)_config_opts += -no-sql-psql
$(bundle)_config_opts += -no-sql-sqlite
$(bundle)_config_opts += -no-sql-sqlite2
$(bundle)_config_opts += -no-system-proxies
$(bundle)_config_opts += -no-use-gold-linker
$(bundle)_config_opts += -no-zstd
$(bundle)_config_opts += -nomake examples
$(bundle)_config_opts += -nomake checks
$(bundle)_config_opts += -nomake instruments
$(bundle)_config_opts += -opensource
$(bundle)_config_opts += -pkg-config
$(bundle)_config_opts += -prefix $(host_prefix)
$(bundle)_config_opts += -qt-libpng
$(bundle)_config_opts += -qt-pcre
$(bundle)_config_opts += -qt-harfbuzz
$(bundle)_config_opts += -qt-zlib
$(bundle)_config_opts += -static
$(bundle)_config_opts += -v
$(bundle)_config_opts += -no-feature-bearermanagement
$(bundle)_config_opts += -no-feature-colordialog
$(bundle)_config_opts += -no-feature-commandlineparser
$(bundle)_config_opts += -no-feature-concurrent
$(bundle)_config_opts += -no-feature-dial
$(bundle)_config_opts += -no-feature-fontcombobox
$(bundle)_config_opts += -no-feature-ftp
$(bundle)_config_opts += -no-feature-image_heuristic_mask
$(bundle)_config_opts += -no-feature-keysequenceedit
$(bundle)_config_opts += -no-feature-lcdnumber
$(bundle)_config_opts += -no-feature-networkdiskcache
$(bundle)_config_opts += -no-feature-networkproxy
$(bundle)_config_opts += -no-feature-pdf
$(bundle)_config_opts += -no-feature-printdialog
$(bundle)_config_opts += -no-feature-printer
$(bundle)_config_opts += -no-feature-printpreviewdialog
$(bundle)_config_opts += -no-feature-printpreviewwidget
$(bundle)_config_opts += -no-feature-sessionmanager
$(bundle)_config_opts += -no-feature-socks5
$(bundle)_config_opts += -no-feature-sql
$(bundle)_config_opts += -no-feature-sqlmodel
$(bundle)_config_opts += -no-feature-statemachine
$(bundle)_config_opts += -no-feature-syntaxhighlighter
$(bundle)_config_opts += -no-feature-textbrowser
$(bundle)_config_opts += -no-feature-textmarkdownwriter
$(bundle)_config_opts += -no-feature-textodfwriter
$(bundle)_config_opts += -no-feature-topleveldomain
$(bundle)_config_opts += -no-feature-udpsocket
$(bundle)_config_opts += -no-feature-undocommand
$(bundle)_config_opts += -no-feature-undogroup
$(bundle)_config_opts += -no-feature-undostack
$(bundle)_config_opts += -no-feature-undoview
$(bundle)_config_opts += -no-feature-vnc
$(bundle)_config_opts += -no-feature-wizard
$(bundle)_config_opts += -no-feature-xml

I get the:

make[1]: *** No rule to make goal 'sub-http-install_subtargets'.  Cease.

which I do know, the http is a part of community which can be talked about within the libs. This setup was working yesterday and was additionally writen by another person earlier than me and labored for them.
Now if I take away the http. I get errors like these:

qt/walletmodel.cpp:715:55: error: ‘sslErrors’ just isn't a member of ‘QNetworkAccessManager’
  715 |     QObject::join(supervisor, &QNetworkAccessManager::sslErrors, [](QNetworkReply* reply, const QList& errors) {
      |                                                       ^~~~~~~~~
qt/walletmodel.cpp: In lambda operate:
qt/walletmodel.cpp:717:19: error: ‘QSslError err’ has incomplete kind
  717 |         for (auto err : errors)
      |                   ^~~
qt/walletmodel.cpp:721:38: error: no matching operate for name to ‘QNetworkReply::ignoreSslErrors(const QList&)’
  721 |         reply->ignoreSslErrors(errors);
      |                                      ^
In file included from /dwelling/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/QNetworkReply:1,
                 from qt/walletmodel.cpp:649:
/dwelling/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/qnetworkreply.h:154:18: notice: candidate: ‘digital void QNetworkReply::ignoreSslErrors()’
  154 |     digital void ignoreSslErrors();
      |                  ^~~~~~~~~~~~~~~
/dwelling/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/qnetworkreply.h:154:18: notice:   candidate expects 0 arguments, 1 supplied
qt/walletmodel.cpp: In operate ‘void backupWallet(WalletModel*, const SecureString&)’:
qt/walletmodel.cpp:736:60: error: no matching operate for name to ‘QNetworkAccessManager::put up(QNetworkRequest&, QHttpMultiPart*&)’
  736 |     QNetworkReply* reply = manager->put up(request, multiPart);
      |                                                            ^
In file included from /dwelling/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/QNetworkAccessManager:1,
                 from qt/walletmodel.cpp:648:
/dwelling/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/qnetworkaccessmanager.h:138:20: notice: candidate: ‘QNetworkReply* QNetworkAccessManager::put up(const QNetworkRequest&, QIODevice*)’
  138 |     QNetworkReply *put up(const QNetworkRequest &request, QIODevice *knowledge);

I am so exhausted outta this. Please Assist

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments