sudo apt update
sudo apt upgrade
sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git
installed all the dependencies in dependencies.md
sudo apt install nsis
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
sudo apt install g++-mingw-w64-x86-64-posix
PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')
cd depends
make HOST=x86_64-w64-mingw32 -j9
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
make -j9
For Linux, the build was successful and the QT wallet was working properly, but when I tried to build it for Windows, the problem started with several errors occurring in notificator.cpp in the qt folder.
machine specifications
Debian Bookworm LXQT Release: 12 AMD Ryzen 7 3800X RAM 32GB HDD 2TB version of Bitcoin Core is the latest.