Skip to content

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

Notifications You must be signed in to change notification settings

sumedhasingla/qt-easy-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Prerequisites

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
  • Reboot machine

Usage

Linux

TBD

MacOSX

TBD

Windows

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

Note: Qt source have to be manually patched.

  • Visual Studio 2012 64-bit Debug
@powershell -Command "$destDir='C:\D\Support';$buildType='Debug';$qtPlatform='win32-msvc2012';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/4.8.6/windows_build_qt.ps1'))"

Note: Qt source have to be manually patched.

  • Visual Studio 2010 64-bit Release
@powershell -Command "$destDir='C:\D\Support';$buildType='Release';$qtPlatform='win32-msvc2010';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/4.8.6/windows_build_qt.ps1'))"
  • Visual Studio 2010 64-bit Debug
@powershell -Command "$destDir='C:\D\Support';$buildType='Debug';$qtPlatform='win32-msvc2010';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/4.8.6/windows_build_qt.ps1'))"
  • Visual Studio 2008 64-bit Release
@powershell -Command "$destDir='C:\D\Support';$buildType='Release';$qtPlatform='win32-msvc2008';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/4.8.6/windows_build_qt.ps1'))"
  • Visual Studio 2008 64-bit Debug
@powershell -Command "$destDir='C:\D\Support';$buildType='Debug';$qtPlatform='win32-msvc2008';$bits='64';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/jcfr/qt-easy-build/4.8.6/windows_build_qt.ps1'))"

Notes

  • buildType can be set to either 'Release' or 'Debug'
  • bits can be set to either '32' or '64'
  • The script will install jom and StrawberryPerl using cinst jom and cinst StrawberryPerl.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 76.1%
  • PowerShell 23.9%