Title: Build failure when building against zxing-cpp 3.0.0+ · Issue #288 · feather-wallet/feather · GitHub
Open Graph Title: Build failure when building against zxing-cpp 3.0.0+ · Issue #288 · feather-wallet/feather
X Title: Build failure when building against zxing-cpp 3.0.0+ · Issue #288 · feather-wallet/feather
Description: Previously building feather would trigger the following warning: [ 94%] Building CXX object src/CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o cd /build/reproducible-path/feather-wallet-2.8.1+dfsg/obj-x86_64-linux-gnu/src && /usr/...
Open Graph Description: Previously building feather would trigger the following warning: [ 94%] Building CXX object src/CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o cd /build/reproducible-path/feather-wallet-2.8....
X Description: Previously building feather would trigger the following warning: [ 94%] Building CXX object src/CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o cd /build/reproducible-path/feather-wallet-2.8....
Opengraph URL: https://github.com/feather-wallet/feather/issues/288
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build failure when building against zxing-cpp 3.0.0+","articleBody":"Previously building feather would trigger the following warning:\n\n```\n[ 94%] Building CXX object src/CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o\ncd /build/reproducible-path/feather-wallet-2.8.1+dfsg/obj-x86_64-linux-gnu/src \u0026\u0026 /usr/bin/c++ -DFEATHER_TARGET_TRIPLET=\\\"\\\" -DFEATHER_VERSION=\\\"2.8.1\\\" -DHAS_WEBSOCKET=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG=1 -DQT_SVGWIDGETS_LIB -DQT_SVG_LIB -DQT_WAYLANDCLIENT_LIB -DQT_WEBSOCKETS_LIB -DQT_WIDGETS_LIB -DTOR_VERSION=\\\"\\\" -DWITH_SCANNER=1 -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/obj-x86_64-linux-gnu/src/feather_autogen/include -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/monero/include -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/monero/src -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/monero/external -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/monero/external/easylogging++ -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/monero/contrib/epee/include -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/src -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/libwalletqt -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/model -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/utils -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode -I/build/reproducible-path/feather-wallet-2.8.1+dfsg/monero/contrib/epee/src/../include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt6/QtWebSockets -isystem /usr/include/x86_64-linux-gnu/qt6/QtSvgWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt6/QtMultimediaWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtWaylandClient -g -O2 -ffile-prefix-map=/build/reproducible-path/feather-wallet-2.8.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fstack-protector -fstack-protector-strong -fcf-protection=full -fstack-clash-protection -fPIC -Dcryptonote=MWYSUTPAXIBT -std=gnu++17 -MD -MT src/CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o -MF CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o.d -o CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o -c /build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.cpp\nIn file included from /build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.cpp:4:\n/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.h:30:87: warning: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated [-Wdeprecated-declarations]\n 30 | static Result ReadBarcode(const QImage\u0026 img, const ZXing::DecodeHints\u0026 hints = { });\n | ^\nIn file included from /usr/include/ZXing/ReadBarcode.h:8,\n from /build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.h:10:\n/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here\n 176 | using DecodeHints [[deprecated]] = ReaderOptions;\n | ^~~~~~~~~~~\n/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.cpp:6:83: warning: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated [-Wdeprecated-declarations]\n 6 | Result QrCodeUtils::ReadBarcode(const QImage\u0026 img, const ZXing::DecodeHints\u0026 hints)\n | ^\n/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here\n 176 | using DecodeHints [[deprecated]] = ReaderOptions;\n | ^~~~~~~~~~~\n/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.cpp: In lambda function:\n/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.cpp:13:44: warning: ‘ZXing::ImageFormat::BGRX’ is deprecated: use BGRA [-Wdeprecated-declarations]\n 13 | return ZXing::ImageFormat::BGRX;\n | ^~~~\nIn file included from /usr/include/ZXing/ReadBarcode.h:9:\n/usr/include/ZXing/ImageView.h:29:9: note: declared here\n 29 | BGRX [[deprecated(\"use BGRA\")]] = BGRA,\n | ^~~~\n/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.cpp:24:44: warning: ‘ZXing::ImageFormat::RGBX’ is deprecated: use RGBA [-Wdeprecated-declarations]\n 24 | return ZXing::ImageFormat::RGBX;\n | ^~~~\n/usr/include/ZXing/ImageView.h:27:9: note: declared here\n 27 | RGBX [[deprecated(\"use RGBA\")]] = RGBA,\n```\n\nThe usage of `DecodeHints` is deprecated, see:\n\nhttps://github.com/feather-wallet/feather/blob/1b1b5f47aecff34037cdb719d566e35530dd6c65/src/qrcode/utils/QrCodeUtils.h#L30\n\nThis interface has been removed in https://github.com/zxing-cpp/zxing-cpp/commit/a9a2b20ffe35593f08ebe69b37ccf270915a894b .\n\nWith zxing-cpp 3.0.0+, the software building would result in errors due to its removal of deprecated interface:\n\n```\nIn file included from /build/reproducible-path/feather-wallet-2.8.1+dfsg/src/widgets/PayToEdit.cpp:16:\n/build/reproducible-path/feather-wallet-2.8.1+dfsg/src/qrcode/utils/QrCodeUtils.h:30:63: error: ‘DecodeHints’ in namespace ‘ZXing’ does not name a type\n 30 | static Result ReadBarcode(const QImage\u0026 img, const ZXing::DecodeHints\u0026 hints = { });\n | ^~~~~~~~~~~\nmake[3]: *** [src/CMakeFiles/feather.dir/build.make:2221: src/CMakeFiles/feather.dir/widgets/PayToEdit.cpp.o] Error 1\n```\n\nPlease consider replacing the usage of deprecated apis and make your software compatible with zxing-cpp 3.0.0+. Thanks!","author":{"url":"https://github.com/hosiet","@type":"Person","name":"hosiet"},"datePublished":"2026-02-07T16:51:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/288/feather/issues/288"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff3e7545-86a5-1fd0-387d-5d67babea5e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E328:1B5B4:31E429:4475A3:698DF2F3 |
| html-safe-nonce | 873ea6b9a1912e4e5979ceb70c0ad1bb96d59445a8bfe7c748fd6acfb93a668c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzI4OjFCNUI0OjMxRTQyOTo0NDc1QTM6Njk4REYyRjMiLCJ2aXNpdG9yX2lkIjoiMzE0MDUxNzk3NDUxMjYyODQ2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 910961a84c4a870b862235b9024c3447b5f16f540c66335eab27cab56c6be754 |
| hovercard-subject-tag | issue:3910706935 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feather-wallet/feather/288/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f779c7faeaf3837e8cd12109c074c4f3209bffe519a2350d71e3782687fa8b3/feather-wallet/feather/issues/288 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f779c7faeaf3837e8cd12109c074c4f3209bffe519a2350d71e3782687fa8b3/feather-wallet/feather/issues/288 |
| og:image:alt | Previously building feather would trigger the following warning: [ 94%] Building CXX object src/CMakeFiles/feather.dir/qrcode/utils/QrCodeUtils.cpp.o cd /build/reproducible-path/feather-wallet-2.8.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hosiet |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae22ef6ad27c5aeb770c5acd314c5724055bb23a663877aafdaaa50ed317ba34 |
| turbo-cache-control | no-preview |
| go-import | github.com/feather-wallet/feather git https://github.com/feather-wallet/feather.git |
| octolytics-dimension-user_id | 90971348 |
| octolytics-dimension-user_login | feather-wallet |
| octolytics-dimension-repository_id | 452012614 |
| octolytics-dimension-repository_nwo | feather-wallet/feather |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 452012614 |
| octolytics-dimension-repository_network_root_nwo | feather-wallet/feather |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e545f5becd5b3ce9b429b68c3f994ad93c680ddb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width