mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:03:39 +00:00
Feature Parity 01: Remove bitcoin/src/qt GUI Dependencies from gui-qml #505
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#505
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Create a clean boundary where gui-qml does not depend on Qt Widgets-era classes under
bitcoin/src/qt.Complexity
XLDependencies
NoneGlobal Constraints
gui-qml/.bitcoin/src/qtcomponents. Reused logic must be moved/ported intogui-qml/.interfaces::Walletorinterfaces::Nodein this version.DefinitionOfDone.md.Scope
qml/*that point toqt/*headers.gui-qml/qmlC++ modules (peer table/sort, formatting, URI helpers, network style wrappers as needed).Acceptance Criteria (DoD-Aligned)
rg -n "#include <qt/|#include <bitcoin/src/qt/" qmlreturns no results for GUI runtime code paths.Required Tests
qml/.Implementation Notes
Tasks
qt/bitcoinunits.husage to a localqml/formatter and updateCoinsListModel+WalletQmlModelformatting call sites.test/CMakeLists.txt.qt/networkstyle.husage inqml/bitcoin.cpp+qml/imageprovider.cppwith local equivalents.qt/guiutil.husage inqml/bitcoin.cpp(font loading) with a local helper or Qt-native equivalent.qt/initexecutor.hdependency (port/replace InitExecutor as needed).qt/guiutil.handqt/rpcconsole.husage fromPeerDetailsModelby porting peer stats formatting helpers intoqml/.qt/peertablesortproxy.husage with a localPeerListSortProxyimplementation.qt/peertablemodel.h,qt/peertablesortproxy.h,qt/rpcconsole.hinqml/models/*.qt/optionsmodel.handqt/guiconstants.husage inqml/models/options_model.cpp.bitcoin/src/qtinclude path from app CMake once the QML runtime no longer includes qt headers.test/functional/qml_test_regression_smoke.py).Closed with https://github.com/bitcoin-core/gui-qml/pull/535