I'm doing this because using MXE leads to a binary size regression. We
can't add options like -optimize-size when using MXE.
updater2.exe sizes:
v0.0.5 release - 28.9M
with MXE (old Dockerfile.win) - 40.4M
new Dockerfile.win - 24.6M
Compared to the Docker script used before MXE which built our own Qt
5.9, the -schannel flag is added to Qt's configure, which is what was
needed for https to work in the Qt network library.
I'm doing this because using MXE leads to a binary size regression. We can't add options like -optimize-size when using MXE.
updater2.exe sizes: v0.0.5 release - 28.9M with MXE (old Dockerfile.win) - 40.4M new Dockerfile.win - 24.6M
Compared to the Docker script used before MXE which built our own Qt 5.9, the -schannel flag is added to Qt's configure, which is what was needed for https to work in the Qt network library.