Downloads:
14,110
Downloads of v 5.15.2.20240623:
1,723
Last Update:
23 Jun 2024
Package Maintainer(s):
Software Author(s):
- Qt Project
Tags:
qt sdk programming library c++ cpp- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Qt 5 SDK
- 1
- 2
- 3
5.15.2.20240623 | Updated: 23 Jun 2024
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
14,110
Downloads of v 5.15.2.20240623:
1,723
Maintainer(s):
Software Author(s):
- Qt Project
Qt 5 SDK 5.15.2.20240623
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Qt Project. The inclusion of Qt Project trademark(s), if any, upon this webpage is solely to identify Qt Project goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Qt 5 SDK, run the following command from the command line or from PowerShell:
To upgrade Qt 5 SDK, run the following command from the command line or from PowerShell:
To uninstall Qt 5 SDK, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download qt5-default --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade qt5-default -y --source="'INTERNAL REPO URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade qt5-default -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install qt5-default
win_chocolatey:
name: qt5-default
version: '5.15.2.20240623'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'qt5-default' do
action :install
source 'INTERNAL REPO URL'
version '5.15.2.20240623'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller qt5-default
{
Name = "qt5-default"
Version = "5.15.2.20240623"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'qt5-default':
ensure => '5.15.2.20240623',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator TheCakeIsNaOH on 13 Jul 2024.
Qt 5 development defaults package.
Package info
- The purpose of this package is to be more or less the equivalent of https://packages.ubuntu.com/focal/qt5-default. The MinGW/GCC version is chosen as the current one available on GitHub Actions hosted runners.
Quick start
- After installing Chocolatey, run
choco install -y qt5-default cmake qtcreator
in PowerShell and then launch Qt Creator to try to create a new Qt Widgets Application.
Troubleshooting
- Check that all the packages and their dependencies were installed, if one failed (e.g. due to network-related errors) try to reinstall it using
--force
or try a previous version... - False positives may occur with some antivirus software, see https://github.com/miurahr/aqtinstall/issues/423.
- 32 bit versions of Qt Creator do not seem available anymore, see https://github.com/AdmiringWorm/chocolatey-packages/issues/362.
- If multiple versions of the Qt SDK and/or C++ compilers are already installed, Qt Creator might need to be reconfigured to list them. Please backup
%APPDATA%\QtProject\qtcreator\qtversion.xml
and%APPDATA%\QtProject\qtcreator\toolchains.xml
before installation and check it after or update Tools\Options\Kits in Qt Creator if needed.
Package parameters
The package uses aqt install-qt
command, see https://github.com/miurahr/aqtinstall. The following package parameters can be set:
/base:URL
- Will pass--base URL
parameter toaqt install-qt
command. Useful for offline installations, see https://github.com/miurahr/aqtinstall/issues/224./config:SETTINGSPATH
- Will pass--config SETTINGSPATH
parameter toaqt
command. Useful in combination with/base
parameter, whereignore_hash
option might need to be set to True insettings.ini
, see https://github.com/miurahr/aqtinstall/issues/521./modules:MODULE1 MODULE2...
- Will pass--modules MODULE1 MODULE2...
parameter toaqt install-qt
command. By default,--modules qtcharts qtscript
is passed./Path
- Will try to update WindowsPATH
./NoRegistry
- Will not try to update Windows registry./Noqtversionxml
- Will not try to update%APPDATA%\QtProject\qtcreator\qtversion.xml
./Notoolchainsxml
- Will not try to update%APPDATA%\QtProject\qtcreator\toolchains.xml
.
To pass parameters, use--params "''"
(e.g.choco install qt5-default --params "'/base:http://127.0.0.1:8000/ /config:C:\Qt\settings.ini /modules:qtcharts qtscript'"
).
$ErrorActionPreference = 'Stop'; # Stop on all errors.
# Source variables which are shared between install and uninstall.
. $PSScriptRoot\sharedVars.ps1
$newpath = [environment]::GetEnvironmentVariable("Path","Machine")
$newpath = ($newpath.Split(';') | Where-Object { $_ -ne "$QtSDKMinGWPath\bin" }) -join ';'
[environment]::SetEnvironmentVariable("Path",$newpath,"Machine")
try {
Get-ItemProperty -Path "$CMakeSystemRepositoryPath\Qt" | Select-Object -ExpandProperty "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer" -ErrorAction Stop | Out-Null
Remove-ItemProperty -Path "$CMakeSystemRepositoryPath\Qt" -Name "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer"
}
catch {
}
try {
Get-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName | Select-Object -ExpandProperty "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer" -ErrorAction Stop | Out-Null
Remove-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName -Name "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer"
}
catch {
}
if (Test-Path $QtSDKMinGWPath) {
Remove-Item -Recurse -Force $QtSDKMinGWPath
}
$ErrorActionPreference = 'Stop'; # Stop on all errors.
# Source variables which are shared between install and uninstall.
. $PSScriptRoot\sharedVars.ps1
$newpath = [environment]::GetEnvironmentVariable("Path","Machine")
$newpath = ($newpath.Split(';') | Where-Object { $_ -ne "$QtSDKMinGWPath\bin" }) -join ';'
[environment]::SetEnvironmentVariable("Path",$newpath,"Machine")
try {
Get-ItemProperty -Path "$CMakeSystemRepositoryPath\Qt" | Select-Object -ExpandProperty "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer" -ErrorAction Stop | Out-Null
Remove-ItemProperty -Path "$CMakeSystemRepositoryPath\Qt" -Name "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer"
}
catch {
}
try {
Get-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName | Select-Object -ExpandProperty "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer" -ErrorAction Stop | Out-Null
Remove-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName -Name "qt$QtSDKMVer`_$QtSDKMMPVer`_win$MinGWArch`_mingw$MinGWMMVer"
}
catch {
}
if (Test-Path $QtSDKMinGWPath) {
Remove-Item -Recurse -Force $QtSDKMinGWPath
}
if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq $true) { $MinGWArch = "32" } else { $MinGWArch = "64" }
$MinGWMMVer = "81"
$QtSDKVer = "5.15.2"
$QtSDKMVer = "5"
$QtSDKMMPVer = "5152"
$QtSDKRoot = "C:\Qt"
$QtSDKPath = "$QtSDKRoot\$QtSDKVer"
$QtSDKMinGWPath = "$QtSDKRoot\$QtSDKVer\mingw$MinGWMMVer`_$MinGWArch"
$CMakeRegistryPath = "HKCU:\SOFTWARE\Kitware\CMake"
$CMakeSystemRepositoryPath = "HKLM:\SOFTWARE\Kitware\CMake\Packages"
$CMakePackageName = "Qt$QtSDKMVer"
Log in or click on link to see number of positives.
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
Qt 5 SDK 5.15.2.20240623 | 1723 | Sunday, June 23, 2024 | Approved | |
Qt 5 SDK 5.15.2.20240217 | 1286 | Saturday, February 17, 2024 | Approved | |
Qt 5 SDK 5.15.2.20230529 | 3619 | Monday, May 29, 2023 | Approved | |
Qt 5 SDK 5.15.2.20230429 | 137 | Saturday, April 29, 2023 | Approved | |
Qt 5 SDK 5.15.2.20220508 | 4116 | Monday, May 9, 2022 | Approved | |
Qt 5 SDK 5.15.2.20211228 | 1074 | Wednesday, December 29, 2021 | Approved | |
Qt 5 SDK 5.15.2 | 2155 | Tuesday, May 4, 2021 | Approved |
-
- chocolatey-core.extension (≥ 1.1.0)
- aqt (= 3.1.9)
- mingw (= 8.1.0)
Ground Rules:
- This discussion is only about Qt 5 SDK and the Qt 5 SDK package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Qt 5 SDK, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.