"Save online" fails in Windows, when building with Qt 5.12.4

• Jun 21, 2019 - 09:54
Reported version
3.x-dev
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

When building MuseScore using Qt 5.12.4 (or later), "Save online" fails.

Error message (in a MinGW debug build): Warning: QSslSocket::connectToHostEncrypted: TLS initialization failed (:0, )

This is due to the fact that in Qt 5.12.4 the (Open)SSL requirements have been raises to version 1.1.1, for TLS 1.3 support, see https://blog.qt.io/blog/2019/06/17/qt-5-12-4-released-support-openssl-1…

Workaround: copy the DLLs of either attachment (depening on whether you use 32bit of 64bit) into the directory where MuseScore3.exe sits (these DLLs are OpenSSL version 1.1.1c)

See https://github.com/musescore/MuseScore/pull/5150

The 4 additional needed DLLs need to get added to https://s3.amazonaws.com/utils.musescore.org/dependencies.7z

Attachment Size
ssl-1_1-x64.7z 1.09 MB
ssl-1_1-x86.7z 929.09 KB

Comments

Once the minimum requirement for Windows builds got raised to 5.12.4 (or later, as far as I understand we're waiting for 5.12.5), the DLLs libeay32.dll and ssleay32.dll could get removed from the dependencies and mscore/CMakeLists.txt (and their space saved in the packages too, some 600kb resp. 1Mb).

Might be possible to copy them conditionally on install, depending on Qt version. Not sure whether that's worth the effort and added complexity.

Fix version
3.3.0