Working on migration from Autotools to CMake build system, I found that our current code base needs to be adjusted.
CMake allows to
handle the Qt
uic
code generator automatically
When using this feature, statements like #include "ui_<ui_base>.h"
are processed in a special way.
The node/ui_interface.h
unintentionally breaks this feature. Of course, it is possible to provide a list of source files to be excluded from AUTOUIC
. But, unfortunately, this approach does not work for the qt/sendcoinsdialog.cpp
source file, where there are both https://github.com/bitcoin/bitcoin/blob/b71d37da2c8c8d2a9cef020731767a6929db54b4/src/qt/sendcoinsdialog.cpp#L10 and https://github.com/bitcoin/bitcoin/blob/b71d37da2c8c8d2a9cef020731767a6929db54b4/src/qt/sendcoinsdialog.cpp#L24