Skip to content

Scripts allowing to easily build Qt with OpenSSL support on Linux, macOS or Windows

License

Notifications You must be signed in to change notification settings

jcfr/qt-easy-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script allowing to very easily build qt with openssl support on Linux, Windows or MacOSX

Usage

Linux and macOS

  1. Open a terminal and copy the text below:
curl -s https://raw.githubusercontent.com/jcfr/qt-easy-build/5.15.2/Build-qt.sh -o Build-qt.sh && chmod u+x Build-qt.sh
./Build-qt.sh -j 4

To display script options:

./Build-qt.sh --help

Windows

Important

Building Qt 5.15 on Windows using this project is not yet supported. See #71

  1. Open 64 bit Visual Studio Command Prompt
  2. Paste the corresponding text from the box below and press enter.
  • Visual Studio 2022 64-bit Release
@powershell -Command "$destDir='C:\D\Support';$buildType='Release';$qtPlatform='win32-msvc';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/5.15.2/windows_build_qt.ps1'))"
  • Visual Studio 2022 64-bit Debug
@powershell -Command "$destDir='C:\D\Support';$buildType='Debug';$qtPlatform='win32-msvc';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/5.15.2/windows_build_qt.ps1'))"

Notes

  • the minimum glibc version supported by QtWebEngine is 2.17. This excludes building QtWebEngine on less than CentOS 7, for example (local glibc version may be checked with ldd --version).

  • buildType can be set to either 'Release' or 'Debug'

  • bits can be set to either '32' or '64'

  • The script will install jom downloading it from http://download.qt.io/official_releases/jom/.

  • Make sure that your Windows %PATH% environment variable does not contain any quotation marks! This might break both the executables path or even the include paths and make the CMake script fail. Even if your %PATH% contains whitespaces (e.g. C:\Program Files (x86)\...) no quotes are needed.

About

Scripts allowing to easily build Qt with OpenSSL support on Linux, macOS or Windows

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •