| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Use 'const' and 'auto' keywords more where static_cast is used.
Change-Id: I60152b90fe5e44aa1ca513b43f133e604ed6417f
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to have multiple Qt versions for different
platforms in the same module search path (much like multiple Android
archs are present in the same module search path). This enables
scenarios like building a Qt-based iOS and watchOS project in the same
build configuration without messing with profiles.
Change-Id: I448d7a768e8576373ff91d5283d46dbd7b8969ca
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
| |
...or raw iterators for reverse iterations.
Change-Id: I62a110ceeefaf70aaa41f6fb09d811f0eac05657
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: I34479bc9673d0202363aeba5c7919efc8f0d7287
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows users to set the target platform from within project files,
since it is a scalar value. The values of qbs.targetOS and qbs.hostOS
are now derived from these new scalar properties.
[ChangeLog] Added qbs.targetPlatform and qbs.hostPlatform properties
which are scalar versions of qbs.targetOS and qbs.hostOS.
qbs.targetPlatform is a "write-only" property that can be used to
set the OS/platform that is being targeted, while qbs.targetOS
and qbs.hostOS should continue to be used to *read* the OS/platform
that is being targeted. qbs.targetOS is also now read-only.
Task-number: QBS-1070
Change-Id: Id3fd206a5b2ebee2d626f3e5ab02ecd1dc90d90a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: I363e4d85e60c1c8ea1c0661d5088a7b8e1a5b806
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
...or operator<< if the argument was itself a list, or brace init where
appropriate.
This is a simple find and replace with manual sanity check.
Change-Id: I94b79cbf3752192dd258001bf1dfcd46f58ca352
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Required by follow-up commit.
[ChangeLog] The Module.setupRunEnvironment script now has a new parameter
"config". Users can set it via the --setup-run-env-config option of the
run command.
Change-Id: I1be57fcff5321874cf3dcf4fb3a7ef7d6f69a8a5
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
| |
Change-Id: I59d743f585410cb5c00d36a7b6f9a3e9d696d19e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
...and operator+=
Change-Id: I848610544cacc2d187d601c0db567703c3e68c93
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
This is a simple find and replace with manual sanity check.
Change-Id: Iab6d46dcc3be246d1650aae2b1730f933b717be8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
This is a simple find and replace with manual sanity check.
Change-Id: Ia733befe7885dc3c643d5c84e151312bfd86a3c6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
This is a simple find and replace with manual sanity check.
Change-Id: I82f0eb38b6a5a3b75a4ed38d97bdb6ce164d09b3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: Ie76308a94dc3b6735cb64a032d2d077a52c17be2
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This option was supported in a very hacky way by attaching it to the
"build" command, where it does not belong. Add a dedicated command
instead and support the option variant in the same way as we do for
--help.
Change-Id: Ib8f1a0e44f9ae669093f059c86518138df510bc3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
For consistency, the option can also take an argument now.
Change-Id: Iba585ef7ee007efe25d1ddc52f2375d164e51b9b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The strict separation we had before was annoying to users wanting to add
options to a previous command line using the shell history, because the
new option could not simply be appended if any property assignments were
present.
[ChangeLog] Command-line options do not have to precede property
assignments anymore.
Change-Id: I46fab716b2ff045adaf138db5194c3eba5b6818b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Now that we generate the qbs.qmltypes file during the build, it is no
longer needed.
Change-Id: I3180f55074b291d645abad65437d0cba4c80df25
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: Ib339a2649ecf32670f2f65d0bf159dcc960214df
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
We can do this now that we require MSVC 2015.
Change-Id: I77be55435d4db6c6ff17afeff779e163cf3803fb
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old syntax took every non-option parameter not containing a colon as
a configuration name, which was highly unintuitive. New users would
always get it wrong, and experienced ones would still often encounter
surprising behavior, in particular when forgetting to pass an option.
For instance, this command:
$ qbs build myproject.qbs # user forgot to specify the -f option
would start building for a new configuration called 'myproject.qbs'.
Instead, we now have a special key "config":
$ qbs build config:debug
[ChangeLog] Configuration names are now passed as "config:<name>" on the
command line.
Task-number: QBS-1158
Change-Id: I9b69a35de1f22b9b40efe6ca3616441b5f809aba
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|\
| |
| |
| | |
Change-Id: I76e1f0c4a80fe1840311874e8ec63c8e17667473
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can and should detect invalid generator names before starting a
potentially expensive operation.
Task-number: QBS-1194
Change-Id: I3588df48b7f3e3d7d085a2e4b620296f5eaf02c9
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QBS-1220
Change-Id: I8e99daf145c8255ca3233ca54cf9eb9d3cd84165
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ifdd203c6bb1617916c79f7533fb52e9f2859d5e4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|/
|
|
|
|
|
|
| |
This function has been available since 1.8.
Change-Id: I0114bf8ec41f3be0c306be943d15599e09f69cc7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
This is now guaranteed programatically.
Change-Id: Ifda974aa9347801ccf9e8b04f150cdf2368a756e
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
Also fix help output and CLI documentation.
Change-Id: I45229809ea2f088628f1b512200fe3c8e99f4132
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove redundant output also for rule nodes (rather than just for
artifacts).
- Strip down the list of supported options. Some of the ones we listed
there made no sense for this command.
- Fix help output and CLI documentation.
Change-Id: If13667d48e12de99df3bb19a4f82f97aa9256d02
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Indent also the untracked and missing file lists.
- Remove pointless options.
- Fix help output and CLI documentation.
Change-Id: Iba23ad7fc3366cfac02b255b17cca9127556b9bb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use the build environment rather than the system environment (that's
the whole point of the command).
- Remove the need for a specific product.
- Use a more sensible prompt.
- Strip down the list of supported options.
- Fix typo in comment.
Change-Id: I8e4040d44ab6a95e60a7265e05d5b66fb3dfa878
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
We forgot to update the help text when we got dropped the "one profile
per architecture" approach.
Change-Id: I81d7634e6228e4058d97031fc5bdf2a997f35429
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
This command does not spawn concurrent jobs.
Change-Id: I4bc605b31ff94e463f1c65d98379843b50c36ec4
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
| |
Task-number: QBS-1192
Change-Id: I517b08100cea0154372b6b2fd7a9ac10778a7358
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
It hasn't been in use for a while now.
Change-Id: I85c22d44309727ee458414cad0fb42c312030a9b
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
It makes no sense to call "clean" without a build graph, and neither do
we need possible project files updates to be reflected in the build
graph before running this operation.
Change-Id: I986793e659e2ca1fdf7e58a52b787096527251ba
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- We used to take the list of possible build options and selectively
stripped away the ones that didn't apply, thus ending up with
non-applicable build options as new ones were added. Instead,
we now add the supported options explicitly.
- Setting properties on a "qbs clean" command line makes no sense
anymore now that this information is read from the build graph, so
don't allow it.
Change-Id: I30e18c3da4cc65ba263cccd9137d68fb111e01f5
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|\
| |
| |
| | |
Change-Id: I5320b7c62d6a80089df75c2caca79c15602c01e5
|
| |
| |
| |
| |
| |
| |
| | |
It was only applied to qbs-setup-qt, but missing from the others.
Change-Id: I3f2dd63c717d9117a8699fc76bac93e573cad60c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
... of the command line tool.
Change-Id: I9e28518d0b99036cdb7af0d04b94952a5278c9df
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is helpful when working with IDEs because it enables Find functions
to work better, and avoids context switching to other editors.
Change-Id: I419ab440bd2b43eaf712b2cc498cc6c2d6d9e21b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I6da76b0a53bf87105c4e7b48724d9760cb68e831
|
| |
| |
| |
| |
| |
| |
| |
| | |
The term "Internal command" is ambiguous.
Change-Id: I0d1c84bf813256ea9ac96582994e07106f36f4ea
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is a mistake that the NativeBinary item currently pulls in the bundle
module unconditionally (and also that the module is enabled everywhere).
We want to change that. Prepare for the change by removing all
unconditional accesses to the module's properties.
Change-Id: If57b8222c1a0e2b09c33520882446fa71401f1f1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... and use it to construct a unique product display name that can be
used in error messages and so on.
[ChangeLog][API] Introduced ProductData::fullDisplayName()
Change-Id: I9a35765d3694a8f24741f1506b00d499a1aa23a0
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added initial support for the Universal Windows Platform
(properties for which API families/partitions are available to code
being compiled, and whether compiled binaries require an app container
context to load/execute).
Change-Id: Idd3e117bbb40bd547ae06c16318b2d2e38f07bb4
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We'll never support Windows CE, Windows Phone (8.x), or BlackBerry.
Change-Id: I4adceb663098799f4a8e7283059add6ed9c15f1f
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I4f4c626aecbbf7b3b4ceb3058133215b939ba674
|
| |
| |
| |
| |
| | |
Change-Id: I27f6552baaab6e2eb7f146c4661b9c5e40c92e0b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
GCC 7 is warning against them as part of -Wextra.
Change-Id: I00214bf09c0cb8ad2c881107d7d992edbe84437b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|