Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

27,078

Downloads of v 1.9.1:

1,346

Last Update:

05 Oct 2017

Package Maintainer(s):

Software Author(s):

  • Qt Project

Tags:

qbs qt build

Qbs

This is not the latest version of Qbs available.

  • 1
  • 2
  • 3

1.9.1 | Updated: 05 Oct 2017

Downloads:

27,078

Downloads of v 1.9.1:

1,346

Maintainer(s):

Software Author(s):

  • Qt Project

Tags:

qbs qt build

Qbs 1.9.1

This is not the latest version of Qbs available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Qbs, 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 qbs -y --source="'INTERNAL REPO URL'" --version="'1.9.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 qbs -y --source="'INTERNAL REPO URL'" --version="'1.9.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 qbs
  win_chocolatey:
    name: qbs
    version: '1.9.1'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'qbs' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.9.1'
end

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


cChocoPackageInstaller qbs
{
    Name     = "qbs"
    Version  = "1.9.1"
    Source   = "INTERNAL REPO URL"
}

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


package { 'qbs':
  ensure   => '1.9.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.

NOTE

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

Package Approved

This package was approved as a trusted package on 05 Oct 2017.

Description

Qbs is a tool that helps simplify the build process for developing projects across multiple platforms.


tools\chocolateyinstall.ps1
$qbsVersion = '1.9.1'

$ErrorActionPreference = 'Stop'

$qbsBaseUrl = "https://download.qt.io/official_releases/qbs/$qbsVersion"
$checksumType = 'md5'
$checksums = @{}
ForEach ($line in (New-Object Net.WebClient).DownloadString("$qbsBaseUrl/${checksumType}sums.txt").Split(`
        "`n", [System.StringSplitOptions]::RemoveEmptyEntries)) {
    $items = $line.Split(" ", [System.StringSplitOptions]::RemoveEmptyEntries)
    $checksums.Add($items[1], $items[0])
}

$qbs32 = "qbs-windows-x86-$qbsVersion.zip"
$qbs64 = "qbs-windows-x86_64-$qbsVersion.zip"

Install-ChocolateyZipPackage `
    -PackageName 'qbs' `
    -Url "$qbsBaseUrl/$qbs32" `
    -UnzipLocation "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" `
    -Url64bit "$qbsBaseUrl/$qbs64" `
    -Checksum $checksums[$qbs32] `
    -ChecksumType $checksumType `
    -Checksum64 $checksums[$qbs64] `
    -ChecksumType64 $checksumType

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
Qbs 1.21.0 3167 Friday, January 7, 2022 Approved
Qbs 1.20.1 714 Thursday, October 7, 2021 Approved
Qbs 1.20.0 143 Friday, September 17, 2021 Approved
Qbs 1.19.2 680 Monday, July 26, 2021 Approved
Qbs 1.19.1 115 Thursday, June 17, 2021 Approved
Qbs 1.19.0 172 Tuesday, May 11, 2021 Approved
Qbs 1.18.2 92 Tuesday, May 4, 2021 Approved
Qbs 1.18.0 476 Wednesday, December 23, 2020 Approved
Qbs 1.17.0 754 Wednesday, September 2, 2020 Approved
Qbs 1.16.0 594 Tuesday, May 5, 2020 Approved
Qbs 1.15.0 508 Wednesday, December 18, 2019 Approved
Qbs 1.14.1 266 Monday, November 11, 2019 Approved
Qbs 1.14.0 227 Friday, October 11, 2019 Approved
Qbs 1.13.1 978 Wednesday, May 29, 2019 Approved
Qbs 1.13.0 203 Thursday, May 2, 2019 Approved
Qbs 1.12.1 908 Friday, September 21, 2018 Approved
Qbs 1.12.0 546 Thursday, July 19, 2018 Approved
Qbs 1.11.1 611 Friday, May 4, 2018 Approved
Qbs 1.11.0 2096 Wednesday, March 28, 2018 Approved
Qbs 1.10.1 1057 Thursday, February 15, 2018 Approved
Qbs 1.10.0 404 Friday, December 8, 2017 Approved
Qbs 1.9.1 1346 Thursday, October 5, 2017 Approved
Qbs 1.9.0 452 Wednesday, September 6, 2017 Approved
Qbs 1.8.1 365 Wednesday, July 5, 2017 Approved
Qbs 1.8.0 732 Tuesday, May 30, 2017 Approved
Qbs 1.7.2 3301 Thursday, April 27, 2017 Approved
Qbs 1.7.1 1203 Thursday, January 26, 2017 Approved
Qbs 1.7.0 573 Thursday, December 15, 2016 Approved
Qbs 1.6.1 501 Wednesday, November 9, 2016 Approved
Qbs 1.6.0 438 Friday, August 26, 2016 Approved
Qbs 1.5.2 363 Thursday, July 7, 2016 Approved
Qbs 1.5.1 374 Monday, June 13, 2016 Approved
Qt build suite 1.5.0 396 Thursday, May 12, 2016 Approved
Qt build suite 1.4.5 358 Thursday, March 17, 2016 Approved
Qt build suite 1.4.4 350 Tuesday, December 15, 2015 Approved
Qt build suite 1.4.3 331 Tuesday, October 27, 2015 Approved
Qt build suite 1.4.2 348 Monday, August 24, 2015 Approved
Qt build suite 1.4.1 387 Friday, July 10, 2015 Approved

qbs 1.9.0

General

  • Setting module property values from the command line can now
    be done per product.
  • Introduced new properties qbs.architectures and qbs.buildVariants
    to allow product multiplexing by qbs.architecture and qbs.buildVariant,
    respectively.
  • When rebuilding a project, the environment, project file and property
    values are taken from the existing build graph.

Language

  • Depends items can now be parameterized to set special module parameters
    for one particular product dependency. The new item type Parameter
    is used to declare such parameters in a module. The new item type
    Parameters is used to allow products to set default values for
    such parameters in their Export item.
  • The functions loadExtension and loadFile have been deprecated and
    will be removed in a future version. Use the require function instead.

Custom Rules and Commands

  • Artifacts corresponding to the explicitlyDependsOn property
    are now available under this name in rules and commands.
  • A rule's auxiliaryInputs and explicitlyDependsOn tags
    are now also matched against rules of dependencies, if these rules are
    creating target artifacts.
  • Rules now have a property requiresInputs. If it is false, the rule will
    be run even if no artifacts are present that match its input tags.
  • Added a new property relevantEnvironmentVariables to the Command class.
    Use it if the command runs an external tool whose behavior can be
    influenced by special environment variables.

C/C++ Support

  • Added the cpp.link parameter to enable library dependencies to be
    excluded from linking.
  • When pulling in static library products, the new Depends parameter
    cpp.linkWholeArchive can now be specified to force all the library's
    objects into the target binary.
  • When pulling in library products, the new Depends parameter
    cpp.symbolLinkMode can now be specified to control how the library
    is linked into the target binary on Apple platforms: specifically,
    whether the library is linked as weak, lazy, reexported, and/or
    upward (see the ld64 man page for more information).
  • The property cpp.useCxxPrecompiledHeader, as well as the variants for the
    other languages, now defaults to true.
  • The property cpp.cxxLanguageVersion now gets mapped to MSVC's /std option,
    if applicable.

Apple

  • Added support for building macOS disk images.

Android

  • Product multiplexing is no longer done via profiles, but via architecture,
    employing the new qbs.architectures property (see above). As a result,
    the setup-android command now sets up only one profile, rather than
    one for each architecture.
  • Added support for NDK Unified Headers.

Documentation

  • Added a "How-to" section.

qbs 1.8.1

Important bug fixes:
* Qbs-specific build errors are now correctly linked
in Qt Creator's issues pane (QBS-1151).
* Fixed automatic base profile assignment for
MSVC Qt installations (QBS-1141)
* Various QNX fixes (QBS-1136, QBS-1137, QBS-1138, QBS-1139, QBS-1143).

Behavior changes:
* Users now get early error messages if they forget
the "modules", "products" or "projects" prefix
in command line property overrides such as
"modules.cpp.enableExceptions:false".

qbs 1.8.0

Features:
* General:
* It is no longer strictly required to provide a profile.
* Sub-second timestamp resolutions are now supported on Unix
systems.
* Added a convenient replacement for
product.moduleProperty("module", "property"), namely
product.module.property.
* The loadFile and loadExtension functions are deprecated in
favor of the new require function, which accepts arguments of either
form accepted by the deprecated functions.
* Added new tool qbs-create-project to set up a new qbs
project from an existing source tree.
* FileTagger items can now have conditions.
* Probe items can now appear directly under a Project item.
* Cpp module:
* Added support for QNX and the QCC toolchain
* Added the cpp.useRPathLink property to control whether
to use the -rpath-link linker option.
* Provided the means to easily combine source files for the C
language family in order to support "amalgamation builds".
* Introduced cpp.treatSystemHeadersAsDependencies.
* Qt modules:
* Introduced property Qt.core.combineMocOutput.
* Introduced Qt.core.enableKeywords for simple disabling of
the "signals", "slots" and "emit" symbols.
Important bug fixes:
* Improved scalability of parallel builds on Linux by starting
Process commands via a dedicated launcher process.
Behavior changes:
* The base directory for source files changed from the product
source directory to the parent directory of the file where the files are
listed.

qbs 1.7.2

Important bug fixes:
* macOS: Fixed App Extension builds on older versions of Xcode/macOS
* Windows: Fixed handling of files on network shares
* Fixed syntax error in Qt module that occurred with static Qt builds
* Several fixes for the Visual Studio generator (QBS-1077, QBS-1100)

qbs 1.7.1

Important bug fixes:
* Fixed race condition in qmake build (QBS-1091)
* Qt Creator no longer leaves empty build directories
behind after cancelled project loading (QTCREATORBUG-17543)
* Fixed an exception crossing the API boundary

qbs 1.7.0

Features:
* Added a generator for Visual Studio projects.
* The Group item is now nestable.
* Stricter type checking for properties.
* Added support for generating qrc files.
* Added full support for the QtScxml module.
* Introduced cpp.soVersion.
* Added support for building Inno Setup packages.
* Tentative support for Visual Studio 2017.
* We now assume UTF-8 encoding for project files.
* In Scanner items, input.fileName now contains
a filename rather than the full path.
* Warnings encountered during project resolving are now stored
and re-displayed when the project is loaded.
* Documentation was improved in several places, most
notably for the Rule item.
* Support for the deprecated Transformer item was removed.
Important bug fixes:
* Long paths on Windows are handled (QBS-1068).
* Cyclic module dependencies are detected (QBS-1044).
* The libqbscore soname now includes the minor version,
so that it will not stay the same across ABI changes
(QBS-1002).

qbs 1.6.1

Features:
* Added cpp.linkerWrapper property.
Important bug fixes:
* Fixed a number of bugs evaluating module properties (QBS-845, QBS-1005).
* Fixed x86_64 > x86 cross compiling (QBS-1028).
* Fixed dynamic rules with generated inputs (QBS-1029).

qbs 1.6.0

  • Added lex_yacc module.
  • Introduced property cpp.systemRunPaths.
  • Introduced the ability to check a module's version in a Depends item.
  • Introduced cpp.driverFlags, which allows specifying flags to be
    passed to the compiler driver (in any mode), but never the system linker.
  • Introduced cpp.linkerMode property to allow selection of the
    correct linker (C driver, C++ driver, or system linker) based on the
    objects being linked.
  • Added automatic escaping of arguments passed to the
    cpp.linkerFlags and cpp.platformLinkerFlags properties using the -Wl
    or -Xlinker syntaxes. To revert to the old behavior,
    Project.minimumQbsVersion can be set to a version lower than 1.6.
  • Each build configuration now requires a unique name, which
    is specified on the command line in the same place that qbs.buildVariant
    used to be specified. This allows building for multiple configurations
    with the same variant.

This package has no dependencies.

Discussion for the Qbs Package

Ground Rules:

  • This discussion is only about Qbs and the Qbs 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 Qbs, 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