jcfr / qt-easy-build

Scripts allowing to easily build Qt with OpenSSL support on Linux, macOS or Windows
Apache License 2.0
37 stars 34 forks source link
build linux macos openssl-support powershell qt4 qt5 windows

Qt Easy build

You will find here scripts allowing to very easily build Qt with OpenSSL support on Linux, Windows or macOS

Maintained Qt build scripts

Scripts available for these Qt versions:

Qt Version Linux macOS Windows CI
5.15.2 Build Status Build Status Build Status

Unmaintained Qt build scripts

Scripts available for these Qt versions:

Frequently Asked Questions

Why does the windows build stop with "The underlying connection was closed: An unexpected error occurred on a receive." ?

As explained here, this most likely happens because the build script is attempting to download from a server that needs to use TLS 1.1 or TLS 1.2 (has restricted the use of TLS 1.0 and SSL v3).

To address the problem, you should update the version of .NET installed and install a newer version of PowerShell:

Why does the linux build stop with curl: (35) SSL connect error?

TLS auto-negotation may fail on older Linux versions. Try adding --tlsv1.2 to the curl invocations in Build-qt.sh.

License

Scripts in this repository are licensed under the Apache 2.0 License. See LICENSE_Apache_20 file for details.