This change is required for Qt 6, but it is meaningful on its own.
This is a backport of core-gui#837
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCec0feb99b332: qt: Fix linking when configured with `-DENABLE_WALLET=OFF`
With changes in the cmake config to use Qt 6:
cmake .. -GNinja -DBUILD_BITCOIN_WALLET=0 ninja
Without this change:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:903: error: undefined reference to 'WalletModel::staticMetaObject' /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:1313: error: undefined reference to 'WalletModel::staticMetaObject' collect2: error: ld returned 1 exit status
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable