Previous commit was the wrong idea. This one should fix the Windows build.
It seems that the build is broken when trying to use QT5.12.3. Trying 5.13.2 instead.