| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The function qbsTargetPlatformFromQtMkspec failed for mkspecs like
"devices/linux-oe-generic-g++". Now we only inspect the part after the
last slash.
Task-number: QBS-1328
Task-number: QTCREATORBUG-20136
Change-Id: I41cf686bd8eff4235ce86de30afa8730d3696abc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Configuration names must be prefixed by "config:".
Task-number: QBS-1303
Change-Id: I63636141acdab7cc325378a1696e15842815d003
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QBS-1314
Change-Id: I2cfdf2d826a31523823cec195585725851acd2be
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This can confuse e.g. gcc when the top-level include is actually
a system directory (/usr/include). Anyway, it is unneeded in the
first place: The Qt Creator qbsprojectmanager plugin compiles
fine without.
Change-Id: I700ae6bad16544726b5a450a6f7a29b67f013219
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
| |
Change-Id: I91a0fb6d2c203adf39c8c469d96c3b832854f9ca
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
| |
Change-Id: Ifd7cac3f646ecef2e8b12079771c01af410691bb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
| |
An expected failure was inadvertantly "fixed" by a5f2a7820f. Disable the
run environment setup for this autotest.
Change-Id: I34032ae0bdf51e6bc80ac1902df1ab8e31ed1464
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
We did not set any environment *PATH variables if any rpaths were
present, which breaks the functionality if some libraries are found via
rpaths and others are not. So let's ignore the presence of rpaths.
Change-Id: I41d690159a51bb8e38acd83667bff53ad86c3714
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Add information about relevant bugfixes and other things that were
missing.
Change-Id: I6e7177d38b8442ce59f46f7f080575e9781bdabe
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
This is used in the tests.
Change-Id: I9c88c5cc47e4ea9dde88e726fe8dda997656a81f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
One feature that was mentioned turned out to be broken and got removed.
Change-Id: I6e23e1cc16245372efe671580e8e8c894d8e5d07
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
git rev-parse --git-dir prints a relative or an absolute path, depending
on whether you call it from the repository base directory or not. Our
code now accounts for that.
Change-Id: Iac5eeb0fc55fe83d6c588efbcf97cab6786a4f89
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Ola Røer Thorsen <ola@silentwings.no>
|
|
|
|
|
|
|
| |
Use the same LGPL header as in the other files for tools.
Change-Id: Iade8d4852685532cea70906c63c1ecfd5da8dbbe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
While we did set up the dependencies between multiplexed products
correctly, the *module* (i.e. Export item) that we pulled in was always
the same one and corresponded to the wrong product variant in most
cases.
Change-Id: If42cf7e946689259c7433d81fd35d8798919eb15
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: Ie7387d03a4106bbf40e717941ae0b53f8b554311
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: Iacfc62b1c5933692f578e2bb365839b69c45f6b0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
The functionality of qtquickcompiler is now in qmlcachegen.
Change-Id: I70c45f9db72895e2146cbf4bb7902b8db294626c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
| |
In Qt 5.11, the features/qtquickcompiler.prf file is always present,
even if the QtQuick compiler is not.
Task-number: QBS-1299
Change-Id: Ibc7f925f1b1753d870ddad939fd510637c3b7642
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
If one of the configurations failed and another one succeeded, then we
would return with exit code zero if the successful configuration
finished after the failed one.
Change-Id: If46798d3d145eff45e9e22652fda8e16993794e6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Two or more threads could simultaneously call qputenv() when building
for several configurations.
Change-Id: Ia2edce48d5088018a0ebe650c93c3faabc9d91cd
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Otherwise dependencies on private Qt modules will be ambiguous for e.g.
Qt Android profiles with more than one architecture. The architecture
property is always set, so this change does not erroneously turn
conditions to false.
Change-Id: I30de95493943c8d90a76f7b22b65d4d69a19c29b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
This module does not have a "hasLibrary" property.
Change-Id: I1840f1bb0564009176a31321aa11411449c97043
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building multiple configurations in one go we create one
QScriptEngine per configuration, each in its own thread, but nearly at
the same time.
It turns out that QScriptEngine's creation/destruction is not
thread-safe, which leads to all kinds of interesting effects in the
multiple configurations case.
We fix this by guarding creation/destruction of QScriptEngine with a
mutex.
Task-number: QBS-1308
Change-Id: Ie01733d5943f1fb89e1d25344c4ffa998095e394
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
When copying it over from Qt Creator, we forgot to adapt it to a non-
threadsafe environment.
Change-Id: I83c3dd47627fe01a67042d71b897427f5a7adf2b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: I8b31fc682a04f4d577eb2713f6e2af8519148800
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
These can be exceedingly difficult to debug otherwise.
Change-Id: Ie3bc42fbd60e11be105fc23624c77a623dc5f1aa
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
... when setting the "aggregate" property. This property is evaluated
internally very early in the product setup process, and thus its RHS
should be as unintrusive as possible.
Change-Id: Iba8313566aac37dcff028e8fb313c6dfe7a0b777
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Some autotests need to execute processes built earlier in the same test.
With mingw, these need to find libgcc at runtime. Make sure it is
available, either by using "qbs run" or by adding a dependency on the
cpp module in the product that runs the application.
Change-Id: I7f000c3d604a3412049a271b53b5fed4cc7fc54e
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- We must activate these rules only on the product that is the actual
aggregator.
- The lipo command must only consider artifacts of the multiplexed
variants of the same product.
Change-Id: I25dc42cb53d84d85786b2d7ff96297b7fd58a90d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
Both compiler and linker of this toolchain can considerably lengthen the
command line when forwarding it to internal helper tools. Adapt the
response file threshold accordingly.
Change-Id: Iac071163375f276203a83d9ec503f4a3345f6b40
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of always using the fallback value, we instead always use the
standard value unless we know we're running an older toolchain
which does not support it. This alleviates the potential for differing
behavior in newer versions of compilers which may attempt to remain
compatible with earlier drafts of corresponding standards.
[ChangeLog] Always use standard values for -std= when possible
Change-Id: I61ff3ecd863caa24cb8fb54500e62dc310a2af02
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
| |
It makes no sense to try to run a disabled product.
Task-number: QBS-1306
Change-Id: I07e36bc8f787d702ed9caa21972537e588db57e8
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
... rather than a const ref. We often call this function on temporary
values, in which case using the returned reference triggers undefined
behavior.
Change-Id: Iac9d6097c20438084640d9f8e425d2a59a9878ce
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
These do not conceptually belong to the product.
Change-Id: Ic55cf246fe38ba7ad03563b5f67a8622810dad7d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: Ie5283adaaa8c55fad57276651a6312f0cfb93dbc
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: I8b12ce1752a3a470257523255ada26650a33852d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
There is no guarantee that we find it in the environment.
Change-Id: I58281b5936e0ddad51cbdbe0833f62c4dbb42c1d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
It did not know about qbs.toolchainType.
Change-Id: I00bcd5518f81a65fa49153b75f1fd2fb69d37fd3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
As first attempted in 7f6ec1cc27.
Change-Id: Ib76dbdfc0a60b27d38d93a22c9556d54f07a3dac
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Users should get feedback if they mistyped a product name, for instance.
Task-number: QBS-1288
Change-Id: Icb57490d896d21c5ff9ed3940b53d9b18fe00a30
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
...for a group of source files by setting the
cpp.useCPrecompiledHeader property (or its variants)
to false.
Change-Id: Ie35039825a881c07d11e5c74c03959ac0be3c200
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
| |
Task-number: QBS-1184
Change-Id: Icb72672b36da8a4ccea7edc84bc3c71a4355f2d5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
... for the case that auxiliaryInputs or explicitlyDependsOn contains
"installable". They must be considered in addition to
inputsFromDependencies, because they also match target artifacts of
dependencies.
Change-Id: Ib960001a8e67034d6d1382bacc385bdcd9ddfb99
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
When using bundles, the executable has the tag "bundle.application-
executable".
Task-number: QTCREATORBUG-19794
Change-Id: I5fd635e4105f1b290cf3d5e8f5a96523693e6128
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
|
|
|
|
| |
Change-Id: I0a3bf8f6312f0c47eb6eea47e3e8779e2f78504b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
| |
Task-number: QBS-1281
Change-Id: I56f2fb8e75dd0eb8e1da7a8478dcacc53cbbda5a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also add an undocumented property to add arbitrary options. This one
acts as an emergency fallback in case we miss a new option in the
future.
Task-number: QBS-1295
Change-Id: I0ba81325d6975d8bb25cbd397c9daaaa12f685c2
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Andreas Bacher <andreas.bacher@meon-medical.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The few usages either made no difference or were plain wrong. In
particular, it makes no sense to return a default value if the RHS of
the property assignment evaluates to undefined, as "undefined" usually
implies "false" for bool properties.
Change-Id: I46d563712b2778ef82fa88f49a3229e451782a50
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QBS-1279
Change-Id: I9465777e9fa70394ed0ae6721f6fd368d2e49dfe
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
| |
We mapped them to the wrong C++ backend functions.
Change-Id: Idb0ed8a74fc8ec2f8489e77d33e76a329af0b276
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|