Downloads:

16,482

Downloads of v 5.0.1:

200

Last Update:

15 Sep 2021

Package Maintainer(s):

Software Author(s):

  • Qt Project

Tags:

c++ qt ide qtcreator admin

Qt Creator

This is not the latest version of Qt Creator available.

  • 1
  • 2
  • 3

5.0.1 | Updated: 15 Sep 2021

Downloads:

16,482

Downloads of v 5.0.1:

200

Software Author(s):

  • Qt Project

  • 1
  • 2
  • 3
Qt Creator 5.0.1

This is not the latest version of Qt Creator available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Qt Creator, run the following command from the command line or from PowerShell:

>

To upgrade Qt Creator, run the following command from the command line or from PowerShell:

>

To uninstall Qt Creator, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: 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

  • 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

3. Copy Your Script

choco upgrade qtcreator -y --source="'INTERNAL REPO URL'" --version="'5.0.1'" [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 qtcreator -y --source="'INTERNAL REPO URL'" --version="'5.0.1'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install qtcreator
  win_chocolatey:
    name: qtcreator
    version: '5.0.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'qtcreator' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.0.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller qtcreator
{
    Name     = "qtcreator"
    Version  = "5.0.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'qtcreator':
  ensure   => '5.0.1',
  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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 15 Sep 2021.

Description

Qt Creator provides a cross-platform, complete integrated development environment (IDE) for application developers to create applications for multiple desktop and mobile device platforms, such as Android and iOS.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$installToolsPath = Get-ToolsLocation

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  url            = 'https://download.qt.io/official_releases/qtcreator/5.0/5.0.1/installer_source/windows_x86/qtcreator.7z'
  url64bit       = 'https://download.qt.io/official_releases/qtcreator/5.0/5.0.1/installer_source/windows_x64/qtcreator.7z'
  destination    = "$installToolsPath\$env:ChocolateyPackageName"
  checksum       = '4a8a627122ff7949ca024e1920b00f53db7c7b721d2ad5e7dc53959feb77dafc'
  checksumType   = 'sha256'
  checksum64     = 'dd9ee31bf184a16dc2d08069606ef18de02b66a9d59d7be6072be71330017c8a'
  checksumType64 = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

$qtCreator = $null

Get-ChildItem $packageArgs.destination -Include "*.exe" -Recurse | ForEach-Object {
  if ($_.Name -eq "qtcreator.exe") {
    Set-Content -Value "" -LiteralPath "$($_.FullName).gui"
    $qtCreator = $_.FullName
  }
  else {
    Set-Content -Value "" -LiteralPath "$($_.FullName).ignore"
  }
}

if ($qtCreator) {
  # Because chocolatey targets 4.0, we are able to use 'Programs' in the 'GetFolderPath'
  $programs = [System.Environment]::GetFolderPath("Programs")
  Install-ChocolateyShortcut -shortcutFile "$programs\QT Creator.lnk" -targetPath $qtCreator
  Install-ChocolateyFileAssociation ".pro" $qtCreator
} else {
  Write-Warning "Unable to find qtcreator executable, skipping start menu shortcut creation!"
}
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

# Remove the start menu shortcut
$startMenu = [System.Environment]::GetFolderPath('Programs')
if (Test-Path "$startMenu\QT Creator.lnk") {
  Remove-Item -Force "$startMenu\QT Creator.lnk"
}

$hkey = "HKCR:\.pro"
if (Test-Path $hkey) {
  Remove-Item -Force $hkey
}

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 Creator 5.0.2 364 Friday, October 1, 2021 Approved
Qt Creator 5.0.1 200 Wednesday, September 15, 2021 Approved
Qt Creator 5.0.0 309 Thursday, August 26, 2021 Approved
Qt Creator 4.15.2 526 Wednesday, July 14, 2021 Approved
Qt Creator 4.15.1 533 Wednesday, June 9, 2021 Approved
Qt Creator 4.15.0 591 Wednesday, May 5, 2021 Approved
Qt Creator 4.14.2 580 Monday, March 22, 2021 Approved
Qt Creator 4.14.1 287 Wednesday, February 24, 2021 Approved
Qt Creator 4.14.0 419 Sunday, February 14, 2021 Approved

Discussion for the Qt Creator Package

Ground Rules:

  • This discussion is only about Qt Creator and the Qt Creator 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 Creator, 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.
comments powered by Disqus