I successfully built wireshark from source on Linux.
I copied the same source to the Windows 10 machine.
I followed the instructions given at
https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupPrepareCommandCom
I downloaded Qt 5.15.4 using the Qt online installer and then set QT5_BASE_DIR=C:\Qt\5.15.4\5.15.4\msvc2019
The cmake was successful.
The build failed with 1000+ qt unresolved external reference errors.
Examples: error LNK2001: unresolved external symbol "public: static struct QMetaObject unresolved external symbol "public: static struct QMetaObject const AboutDialog::staticMetaObject"
I've had great success using the older gtk builds using autotools but this has become a road block.