| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Introduced by d0516e8473.
Change-Id: I5bf9e9acab9485ba47c4f5b02e7b0c4ae2493266
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
This has never worked, as the condition that was supposed to collect
such inputs always evaluated to false.
Task-number: QBS-1029
Change-Id: Idf3f86f12fa050a3d151f4551821bf4395f715d8
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Otherwise, crashes in QtScript have been observed.
Change-Id: I5ef716ce6577f68d548b16ed682013fdc75e4005
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: Id616ca2a538b4ff7f6c88b129540966a866c50eb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
In particular, list properties were quite broken in the Group context.
Task-number: QBS-1005
Task-number: QBS-1026
Change-Id: Id94fee42fdceb28f9a1ae541c293213095d6bb2c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
It has to be the empty array in that case, as otherwise the value from
the module prototype will get duplicated.
Change-Id: I444342ce106fc6b9e302c0df18716906e926e966
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
... when evaluating the "prototype part" of list properties. This is
necessary so that other properties appearing on the right-hand-side of
the property use the value from the instance instead of the one from the
prototype.
Task-number: QBS-845
Task-number: QBS-966
Change-Id: I7b6c7d068e45f4805422c887239ec81b5c661880
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
... if their declared type is a list. This is a workaround for
QTBUG-51237.
Change-Id: Ie9e02f5fd125ce73b993e59af0e3dc2b47fe14c1
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
| |
So that we won't accidentally fix only one special case.
Task-number: QBS-1005
Change-Id: I2093fd1569880f1ad683118cdd8df2576039f5f2
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
| |
Task-number: QBS-1024
Change-Id: I2ec6b941d77bc769d119f30cac5b0f621db8930f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
Q_NAMESPACE will be introduced in Qt 5.8 which is used to add metafinfo to a namespace
Change-Id: I16eacc488e9d9705305ced0847d3ad7bc8557292
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
| |
Static variables must be initialized in a thread-safe way, because
resolving for different profiles happens in parallel.
Change-Id: I5d9b5e1233773e2e4371194df0501f4c2670396a
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
| |
Change-Id: Ifa6b8b67f897d5405f7ec118ddf76831077ccfed
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
This follows up 65cb4cba999b47a643e820a102b3185f861b97c1.
Change-Id: I65d7dcf92f7bddc96ea71ed53d909b4dc9a675fe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
| |
This will ensure that source files depending on header files within the
search paths listed in systemIncludePaths and compilerIncludePaths will
be recompiled when those headers change, as well.
Change-Id: I6995fcd533b065505e3eec219294540579a73407
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
| |
They serve no useful purpose.
Task-number: QBS-1015
Change-Id: I6e333250486e76033fe630d1d8cd0aad0aac74a0
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
| |
Since commit 87a1478921, we no longer set qbs.architecture in the
toolchain profile, but setup-qt still expected it.
Change-Id: Id52c087cd91fa08768bf62a4f9d4850d676fe41a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
| |
This moc is too old to parse certain header files correctly.
Task-number: QBS-1004
Task-number: QTCREATORBUG-16798
Change-Id: Ic0c7787112d9ab5d334b62ea5c56014d6cd5892f
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
| |
That could happen when the product was force-disabled due to module
loader errors (in IDE mode), leading to crashes later on.
Change-Id: I7b3967cc238bb9e393af48a5ca599fcd410ed0b5
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
| |
The file scope must correspond to the file where the Properties item is
instantiated, because that's where the imports need to be looked up.
Change-Id: Icfc0fd30bd43ee069ec7a4d2ea1a1e9b88560b2d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When setting up the values of special properties like "base", "outer"
and "original", we replaced invalid and undefined values with an empty
array. This is all nice and well for array properties (so that people
can write "base.concat()" without checking base first), but quite absurd
for scalar properties. So for the latter, the only thing we do now is
replace invalid values with undefined ones. The behavior for arrays
stays the same.
Change-Id: Icb3c74927c84025a07e3ef6c9c67b89d95320632
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Apart from it being weird that people can instantiate them, it also
makes us crash.
Task-number: QBS-1009
Change-Id: Ic10ab530484df973b569aa5a185c06274ad2fef1
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
| |
Change-Id: I497df78263c970ef8f33557358cc65b7749eef09
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
| |
Change-Id: Id73f8eaf285f030fb5164b72cf73dacdaccee437
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
| |
C++11 is required from Qt 5.7 on. Users shouldn't have to enable this
manually in all their Qt-based products.
Change-Id: I2cdbe393f62c9930cd74f129d0c14c109203425e
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
In the original fix for this issue (e34d268ba9), we forgot to take the
"next" values into account.
Task-number: QBS-955
Change-Id: Ie955af1b09250d6a3460aeb3ad45bc8b3292c90c
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
This is frequently a result of omitting a qbs.installSourceBase binding.
Change-Id: Ibd723f759967abac80914267ec8876a72997ea31
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: I6c6497827981868e6b2781ea4fe23309763aacb5
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
| |
Task-number: QBS-1005
Change-Id: Id875b2c4656b9e264da77bb6e6b69168dc9493e4
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
We have to store a *list* of probe objects per code location.
Otherwise, probes with different input properties will
overwrite each other.
Change-Id: Idde7f3f85b6b515bdbcc4b7cff985127cca508a2
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
| |
This will be used by a subsequent commit.
Change-Id: Id7fe30a997e6ad4d09b78002376ecd7e16e1ad52
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used "explicitlyDependsOn" in the respective rules to make the pch
sources depend on all header files. This was much too coarse, as it
meant that the precompiled header was rebuilt whenever any header file
in the product changed. Instead, we need to scan the pch sources just
like all the other C and C++ source files to find out which header files
they actually depend on.
Change-Id: Iaec4ed85075b387d9f4b0fcd06b1e481851c6b10
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
Most probes are not parameterized per product, meaning they only need to
run once.
Change-Id: Id1d08c3c552649a3f6147bb854b27b0315791942
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
This fixes linkerMode:automatic where the linker is determined by Qbs,
and the compilerName assignment is unnecessary because the default name
is sufficient.
Change-Id: I1fce60377f03313370e60df4ab0ed163ceae4655
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
| |
That's more reliable, since we tweak some item types later on.
Task-number: QBS-950
Change-Id: I85edbfa52c6b1da710d990e6b6c080052ad9b9cf
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
| |
This is needed sometimes.
Task-number: QBS-998
Change-Id: Idd15f79ec8996b4df5311425727e38ea8d6eebae
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
We omitted to set a location for products disabled due to errors, which
lead to weird change tracking behavior, where a product's file path is
checked for existence to determine if any files were removed.
Change-Id: I82341081faa8129213e8fdeec30986ea09d2bb50
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows multiple qbs processes competing for the same configuration
instance to be launched simultaneously, and the inactive instances will
wait indefinitely for the lock file to be released.
This is primarily intended for use by the IDE generator plugins like
Visual Studio where the "Build Solution" command builds all projects in
the solution in parallel (and this cannot be disabled).
Change-Id: I13c37a21dd8386e3dfdab1f769b8242bfcfc2e45
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|\
| |
| |
| | |
Change-Id: I62b6ae456af34ee07fde090cb583d2d9899cca98
|
| |
| |
| |
| |
| |
| |
| |
| | |
It was fixed following v5.6.1, but was not merged into 5.7.0, only 5.7.1
will contain the fix.
Change-Id: Iaeb300a1b2eb93c4984ed39439903773736201f3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If <sys/user.h> is included before other system includes, compile errors for missing types
appear on FreeBSD 9 and 11. Tested compiling on FreeBSD 9 and 11 with 1.5.2 packages in
poudriere build jails.
Change-Id: I3669a14c01fb8d11f14e103c008f6f9cb33f7307
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce a "version" property to the Module item and corresponding
properties to the Depends item to set constraints on that version.
[ChangeLog] Introduced the ability to check a module's version in a
Depends item.
Change-Id: I583b40216fb91af21f4e79ad403a7e327215ff79
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In "relaxed mode", intended for use by IDEs, we try to continue project
resolving as much as we can even when errors are encountered. Since that
mode was not present from the beginning, some code does not deal well
with the resulting state. This patch takes the following measures:
- Do not call handleProduct() if an error already occurred
for that product. We will disable it later anyway, so there is no
need to try merging modules, running probes etc.
- Add the base module to the item's list of modules only after
resolving explicit dependencies.
This fixes an ugly "assert" message that would appear with bogus
dependencies in Export items. While it was technically harmless,
it had the potential to worry users.
Change-Id: Ie650314b08488b975569678b931fd670bb8f43ac
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
QtXml is only needed for building corelib.
Change-Id: Idcbef666c09cd3aed4dc5353983001c0f57215d8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was only needed, because libqtprofilesetup included scripttools.h
which is no longer the case.
Change-Id: I1966660fe3247a4b54783906c2fd139379cda119
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The toJSLiteral functions do not use QtScript and are needed by
libqtprofilesetup. This extraction is needed to remove the
QtScript-dependency from libqtprofilesetup in a subsequent commit.
Change-Id: Ide1737269d4b98f38eee93cdf9b6c33a6967c91c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This was caused by a change in Qt 5.7 which #includes the Availability.h
header which is not in moc's default search path. Qbs 1.6 contains a
patch to supply moc with the correct header search paths, therefore this
workaround is required until Qbs requires version 1.6 of itself for self
hosted builds.
Change-Id: I38db36235ac34a06a1a8e33fb474bb72b2928184
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Iec166e5d653d6acd970842dc46388a5aa62d5f42
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I91f4066ae81f515be27206fc11a35574e7a99bde
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is necessary, because otherwise we might silently skip some
products, which can lead to unexpected results.
There is no overhead in the normal code path, because the fact that we
have a cycle can be detected for free by the product sorter.
The check in the ProjectResolver is still needed, because wildcard
dependencies are only resolved later.
Added autotests to cover more cases.
Change-Id: Ie3bf1db5bbb3eeb95d40f5139d294aac6ad840c1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|