Notices: This section not yet converted to new layout. Download stats are rolling back out.

Qbs

1.9.1

Package test results are passing.

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

This package was approved as a trusted package on 10/5/2017.

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

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

C:\> choco install qbs

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

C:\> choco upgrade qbs

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $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
    

Virus Scan Results

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.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Qt Project

Copyright

© 2017 The Qt Company Ltd.

Tags

Release Notes

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.

Version History

Version Downloads Last updated Status
Qbs 1.9.0 149 Wednesday, September 6, 2017 approved
Qbs 1.8.1 68 Wednesday, July 5, 2017 approved
Qbs 1.8.0 421 Tuesday, May 30, 2017 approved
Qbs 1.7.2 2993 Thursday, April 27, 2017 approved
Qbs 1.7.1 923 Thursday, January 26, 2017 approved
Qbs 1.7.0 285 Thursday, December 15, 2016 approved
Qbs 1.6.1 177 Wednesday, November 9, 2016 approved
Qbs 1.6.0 130 Friday, August 26, 2016 approved
Qbs 1.5.2 100 Thursday, July 7, 2016 approved
Show More

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