depends: avoid qdbusviewer in Qt build
What changed, and why it matters
This commit removes an unused Qt tool called qdbusviewer from Bitcoin Core's dependency build. It is a build-system cleanup with no apparent security relevance.
No security action needed. Treat as routine build maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies depends/patches/qt/qttools_skip_dependencies.patch to prevent building qdbusviewer in the Qt qttools module. The commit message states this tool is unused and causes issues with static builds. The change is purely subtractive and build-related.
Changed components
depends/patches/qt/qttools_skip_dependencies.patchInspect captured patch +9 / −0
diff --git a/depends/patches/qt/qttools_skip_dependencies.patch b/depends/patches/qt/qttools_skip_dependencies.patch
index 09f66f44..d1faa4d3 100644
--- a/depends/patches/qt/qttools_skip_dependencies.patch
+++ b/depends/patches/qt/qttools_skip_dependencies.patch
@@ -34,3 +34,12 @@ QtTools: Skip unnecessary dependencies:
# Create a fake module that would emulate the Qt5::LinguistTools CMake Config package
qt_internal_add_module(Linguist
+--- a/qttools/src/qdbus/CMakeLists.txt
++++ b/qttools/src/qdbus/CMakeLists.txt
+@@ -7,6 +7,3 @@ endif()
+ if(QT_FEATURE_dom)
+ add_subdirectory(qdbus)
+ endif()
+-if(QT_FEATURE_dialogbuttonbox AND QT_FEATURE_inputdialog AND QT_FEATURE_menu AND QT_FEATURE_messagebox AND TARGET Qt::Widgets)
+- add_subdirectory(qdbusviewer)
+-endif()
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.