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

0
27


I am did small modifications to Bitcoin Core supply code of bitcoin/src/qt/walletmodel.cpp, the place it sends some information 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):

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

$(package deal)_qttranslations_file_name=qttranslations-$($(package deal)_suffix)
$(package deal)_qttranslations_sha256_hash=c92af4171397a0ed272330b4fa0669790fcac8d050b07c8b8cc565ebeba6735e

$(package deal)_qttools_file_name=qttools-$($(package deal)_suffix)
$(package deal)_qttools_sha256_hash=6d0778b71b2742cb527561791d1d3d255366163d54a10f78c683a398f09ffc6c

$(package deal)_extra_sources  = $($(package deal)_qttranslations_file_name)
$(package deal)_extra_sources += $($(package deal)_qttools_file_name)

outline $(package deal)_set_vars
$(package deal)_config_opts_release = -release
$(package deal)_config_opts_release += -silent
$(package deal)_config_opts_debug = -debug
$(package deal)_config_opts_debug += -optimized-tools
$(package deal)_config_opts += -bindir $(build_prefix)/bin
$(package deal)_config_opts += -c++std c++17
$(package deal)_config_opts += -confirm-license
$(package deal)_config_opts += -hostprefix $(build_prefix)
$(package deal)_config_opts += -no-compile-examples
$(package deal)_config_opts += -no-cups
$(package deal)_config_opts += -no-egl
$(package deal)_config_opts += -no-eglfs
$(package deal)_config_opts += -no-evdev
$(package deal)_config_opts += -no-gif
$(package deal)_config_opts += -no-glib
$(package deal)_config_opts += -no-icu
$(package deal)_config_opts += -no-ico
$(package deal)_config_opts += -no-iconv
$(package deal)_config_opts += -no-kms
$(package deal)_config_opts += -no-linuxfb
$(package deal)_config_opts += -no-libjpeg
$(package deal)_config_opts += -no-libproxy
$(package deal)_config_opts += -no-libudev
$(package deal)_config_opts += -no-mimetype-database
$(package deal)_config_opts += -no-mtdev
$(package deal)_config_opts += -no-openssl
$(package deal)_config_opts += -no-openvg
$(package deal)_config_opts += -no-reduce-relocations
$(package deal)_config_opts += -no-schannel
$(package deal)_config_opts += -no-sctp
$(package deal)_config_opts += -no-securetransport
$(package deal)_config_opts += -no-sql-db2
$(package deal)_config_opts += -no-sql-ibase
$(package deal)_config_opts += -no-sql-oci
$(package deal)_config_opts += -no-sql-tds
$(package deal)_config_opts += -no-sql-mysql
$(package deal)_config_opts += -no-sql-odbc
$(package deal)_config_opts += -no-sql-psql
$(package deal)_config_opts += -no-sql-sqlite
$(package deal)_config_opts += -no-sql-sqlite2
$(package deal)_config_opts += -no-system-proxies
$(package deal)_config_opts += -no-use-gold-linker
$(package deal)_config_opts += -no-zstd
$(package deal)_config_opts += -nomake examples
$(package deal)_config_opts += -nomake assessments
$(package deal)_config_opts += -nomake instruments
$(package deal)_config_opts += -opensource
$(package deal)_config_opts += -pkg-config
$(package deal)_config_opts += -prefix $(host_prefix)
$(package deal)_config_opts += -qt-libpng
$(package deal)_config_opts += -qt-pcre
$(package deal)_config_opts += -qt-harfbuzz
$(package deal)_config_opts += -qt-zlib
$(package deal)_config_opts += -static
$(package deal)_config_opts += -v
$(package deal)_config_opts += -no-feature-bearermanagement
$(package deal)_config_opts += -no-feature-colordialog
$(package deal)_config_opts += -no-feature-commandlineparser
$(package deal)_config_opts += -no-feature-concurrent
$(package deal)_config_opts += -no-feature-dial
$(package deal)_config_opts += -no-feature-fontcombobox
$(package deal)_config_opts += -no-feature-ftp
$(package deal)_config_opts += -no-feature-image_heuristic_mask
$(package deal)_config_opts += -no-feature-keysequenceedit
$(package deal)_config_opts += -no-feature-lcdnumber
$(package deal)_config_opts += -no-feature-networkdiskcache
$(package deal)_config_opts += -no-feature-networkproxy
$(package deal)_config_opts += -no-feature-pdf
$(package deal)_config_opts += -no-feature-printdialog
$(package deal)_config_opts += -no-feature-printer
$(package deal)_config_opts += -no-feature-printpreviewdialog
$(package deal)_config_opts += -no-feature-printpreviewwidget
$(package deal)_config_opts += -no-feature-sessionmanager
$(package deal)_config_opts += -no-feature-socks5
$(package deal)_config_opts += -no-feature-sql
$(package deal)_config_opts += -no-feature-sqlmodel
$(package deal)_config_opts += -no-feature-statemachine
$(package deal)_config_opts += -no-feature-syntaxhighlighter
$(package deal)_config_opts += -no-feature-textbrowser
$(package deal)_config_opts += -no-feature-textmarkdownwriter
$(package deal)_config_opts += -no-feature-textodfwriter
$(package deal)_config_opts += -no-feature-topleveldomain
$(package deal)_config_opts += -no-feature-udpsocket
$(package deal)_config_opts += -no-feature-undocommand
$(package deal)_config_opts += -no-feature-undogroup
$(package deal)_config_opts += -no-feature-undostack
$(package deal)_config_opts += -no-feature-undoview
$(package deal)_config_opts += -no-feature-vnc
$(package deal)_config_opts += -no-feature-wizard
$(package deal)_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 also 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’ will not be a member of ‘QNetworkAccessManager’
  715 |     QObject::join(supervisor, &QNetworkAccessManager::sslErrors, [](QNetworkReply* reply, const QList<QSslError>& errors) {
      |                                                       ^~~~~~~~~
qt/walletmodel.cpp: In lambda perform:
qt/walletmodel.cpp:717:19: error: ‘QSslError err’ has incomplete sort
  717 |         for (auto err : errors)
      |                   ^~~
qt/walletmodel.cpp:721:38: error: no matching perform for name to ‘QNetworkReply::ignoreSslErrors(const QList<QSslError>&)’
  721 |         reply->ignoreSslErrors(errors);
      |                                      ^
In file included from /house/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/QNetworkReply:1,
                 from qt/walletmodel.cpp:649:
/house/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/qnetworkreply.h:154:18: be aware: candidate: ‘digital void QNetworkReply::ignoreSslErrors()’
  154 |     digital void ignoreSslErrors();
      |                  ^~~~~~~~~~~~~~~
/house/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/qnetworkreply.h:154:18: be aware:   candidate expects 0 arguments, 1 supplied
qt/walletmodel.cpp: In perform ‘void backupWallet(WalletModel*, const SecureString&)’:
qt/walletmodel.cpp:736:60: error: no matching perform for name to ‘QNetworkAccessManager::submit(QNetworkRequest&, QHttpMultiPart*&)’
  736 |     QNetworkReply* reply = manager->submit(request, multiPart);
      |                                                            ^
In file included from /house/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/QNetworkAccessManager:1,
                 from qt/walletmodel.cpp:648:
/house/madguy/bitcoin-seperate/relies upon/x86_64-w64-mingw32/embrace/QtNetwork/qnetworkaccessmanager.h:138:20: be aware: candidate: ‘QNetworkReply* QNetworkAccessManager::submit(const QNetworkRequest&, QIODevice*)’
  138 |     QNetworkReply *submit(const QNetworkRequest &request, QIODevice *information);

I am so exhausted outta this. Please Assist

LEAVE A REPLY

Please enter your comment!
Please enter your name here