| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: I62651b2baf2497d11d78554fc84ad0cfbf178f33
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
We claim that build directories are opaque, yet there's a ".obj" subdir
where object files are placed. This needlessly adds a level in the build
dir structure. Remove the creation and usage of this directory, which is
clearly qmake legacy.
Change-Id: I3afa6bd61b76941ecebbc2cd8f4109621694e371
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
We now print the name of the configuration (as it could be implicit),
and also where we tried to locate the build graph. Both of these can
help users figure out what the problem is.
Change-Id: Ia5ee014756081cf708f02b3c367fc9f817966d9f
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | | |
This is intended to be the last merge from 1.9.
Change-Id: I7b9dec70a50726f4ed2d54152eab472f2c6b74ec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Better late than never.
Change-Id: I06550e060a3fd24ca7be0f21980b9f5dd9cef0c7
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In EvaluatorScriptClass we're cloning the value that's referenced by
"outer" and leave out the list of alternatives. This custom cloning code
was missing the defining item of JSSourceValue, which led to an error if
the outer item was dependent on some other property.
Now, we create a full clone and clear the necessary members. This
ensures we do not have to adjust this code if another member is added to
JSSourceValue.
Task-number: QBS-1205
Change-Id: I59596894f365fa5207490922ee60959e221102b1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The latest verion of Xcode isn't even capable of building storyboards
for iOS 6.1 anymore.
Change-Id: I72efdf2558eb03394ce89efd8a95eb1a4eb706d7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0b78fbd42521af825ff39a5d7ed6aa6c1a1a7a70
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QBS-1191
Change-Id: I63199bc85bed43841e97908fcff0268211ba86c0
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@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>
|
| |
| |
| |
| |
| |
| | |
Task-number: QBS-407
Change-Id: Ia2f59288e2f9aca0d9fed800ee52c4082cf18d07
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
...and remove a superfluous indirection to clean up the code a bit.
Change-Id: Ibb600f129c324519ce7f9513e7e6551b7a4288d4
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
QList is an inept container for a class as big as Alternative.
This also removes the need for qAsConst in several places.
Change-Id: I742c3f9af607eeb7825f8e4eab2e3d040723e543
Reviewed-by: Christian Kandeler <christian.kandeler@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>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ia91cf8b93f6d1bcb3d526d13c4e48e2662205232
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I85e726b6c6508138ec6eb7547307514d9754c960
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I1a3a4afb9742f1c89e6396430d178277ea41c451
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
This makes debugging with proper symbolication possible on macOS.
Change-Id: Iad28ba3cdc2b33d099e5b80687b17d2335af4e5e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ib96e452ba459be449fdd30edef002bccf51fab3e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Each command is described on a separate page.
Option and parameter descriptions are fetched from include files.
\group and \ingroup commands are used to create a table that
shows the CLI commands and short descriptions (from \brief commands).
Task-number: QBS-947
Change-Id: I956c0e029f87e98162e03206a79baef604f1d55e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unified Headers were introduced in r14 but only became default in r15.
So enable them by default if the NDK version is >= r15. Users can
manually set the property to use them with NDK r14. Only unified headers
are supported in NDK r16+ as the legacy headers are removed.
In NDK r16, the default ABI is armv7a and armv5te is deprecated and no
longer builds by default. We can't actually check the NDK version in the
qbs module due to limitations in Qbs, so we'll just use armv7a as the
global default as it has been available and been a suitable default for
a long time now.
In NDK r17, the default STL will be libc++. Set Android.ndk.appStl to
libc++_shared by default in r17 and above.
Change-Id: If0a5a60af3ceb483d0614f88dca63c7d66d52b52
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do not use magic numbers. Compare file lists.
Change-Id: Icb1e3b511ef43332335808ab53d94e12e116f647
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Assigning module properties in a Group in an Export item erroneously
caused an error.
Change-Id: Idfbb4986196ad6b1c29d772c919afc9e3ab7b45b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Item::setupForBuiltinType() always creates a Value object, so the check
for Probe.configure never triggered.
Change-Id: I2be1b10c2fa29ceb36edddc22585dede9b626ea5
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Such failures might be expected and thus cannot be warnings, but they
should get logged.
Change-Id: I8ac63f1034b2dcc3e0a23e5d0da648e640f4ab21
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We used a backtrace whenever one was available, but if it contains no
error location, it actually decreases the usefulness of the error
message. In such cases, ignore it and use the fallback error location
instead.
Change-Id: I7da6a7cf2ddce17f6c1da82fbc4a08148b26e2b4
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ib391e8d1fc1b14849fe6b962d2e4b466dc46aa79
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It has been observed that values somewhat below 32000 can cause issues
as well, so use a "safety offset".
Task-number: QBS-1201
Change-Id: Ic82a4b4a9d770d8d92b955d1e70194de5baeae1b
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It should be derived from qbs.buildVariant, not from
qbs.defaultBuildVariant. Otherwise, overriding qbs.buildVariant from the
command line will have no effect on Darwin platforms, where we always
multiplex by qbs.buildVariants.
Task-number: QBS-1202
Change-Id: I36655d03a1c0e8b01d7a853111d390685ef64a45
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
This will be used in a subsequent change.
Change-Id: I7381d1906aecf08473e30ae06cec9a888bbeaf65
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QBS-1203
Change-Id: Ide4121f007caf5c7c2ae47bbfd76d66079624081
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a potential build error in a standard C++ only file.
Change-Id: I47abdb7ad0ba2abbd096962d994ad0d590b68bba
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the need for explicitly calling Process.close() by making sure we
automatically close and destroy the object when we finish evaluating a
chunk of JavaScript.
[ChangeLog] Process objects are automatically closed after the current
script execution is finished.
Change-Id: I997b989c50d08e2da3141b1c9ae8f999a38c7eb9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Calling releaseResourcesOfScriptObjects in QScriptEngine::evaluate does
not guarantee that the function is called in all circumstances, because
evaluate is not virtual. Worse, it might be called at the wrong time by
a recursive evaluate.
Remove the evaluate overloads, and call releaseResourcesOfScriptObjects
manually after the evaluation of
- Probe.configure,
- Rule.outputArtifacts,
- Rule.prepare,
- and JavaScriptCommand.sourceCode.
Change-Id: Ie4ed0c2d0895a13a8930d7b35c0f22a8d62dc34b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replace the negating conditions in our cpp instances with module
priorities. This removes the need of knowing about all other more
specialized instances in more general instances.
Change-Id: I511ba11f2cb69ea1458b786a2db4309de8910ebf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie87508e7daed63b7f047ed8e46bfeb920d78ae55
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|\ \ |
|
| |\|
| | |
| | |
| | | |
Change-Id: I40c1ea23e7351deac715958783158c089e65a02d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These comments were outdated, and the remaining function arguments are
simple enough.
Change-Id: I27ee08a8b528f4ac9480bfdc534d4d315b844e70
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was forgotten in commit 0655ccbe.
Change-Id: I2319193e4fecb7576d3eb8b2256a9d3708791225
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove the outdated property precompiledHeader from the simplified cpp
module. Use includePaths as example instead.
Change-Id: Ib51d97a10d4853b09dc475ad1257b7888758c907
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This influences the version number embedded in platform metadata, such
as CFBundleVersion on macOS. QbsLibrary already does this.
Change-Id: Ie6a41e5f440ef940be333404183adb280581cd31
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I59c4e38be62c41577f2953ac7f3cb3c7f2f1eb08
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a build error with Xcode 9, which is more strict.
Change-Id: I10f67655ba525ffa909319b43c713947a55a9c7b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|