Basically works, tested under the latest Windows 10
TODOs:
* The CLI-only syncthingctl is quite big, maybe some dependencies got
pulled into the build, e.g. through plugins
* Translations are not working because the CMake module providing the
macros is not available in the mingw-w64 build of Qt 6
Further versions broke the build system,
see 18443d861e.
With 5.15.1 it basically works again but deployment with androiddeployqt
does not produce runnable APKs. Qt now has gained support for invoking
androiddeployqt within CMake. Using their official support instead of my
own helper might have worked but it could not cope with the fact that I
had multiple targets in my CMake project and was therefore useless in my
case.
So let's ditch Qt 5 on Android and give Qt 6 another chance at some
point.
* Add mingw-w64-cmake-static as a separate package
* Fix linker errors (FREETYPE_DEPENDENCIES really must include `-lfreetype`
itself due to the cyclic dependency between FreeType2 and Harfbuzz
* Add patch to fix static compilation of qt6-tools
sorry, but I dont see what that is supposed to fix, the actual library name is /usr/i686-w64-mingw32/lib/libvulkan-1.dll.a and is correctly fond by the default findvulkan.cmake
* Add certain variables to find Qt's dependencies to the CMake
toolchain file because these variables would otherwise needed to
be set every time Qt 6 is used
* Add a static variant
* Not fully tested yet
* Further repos besides base and svg will be added later