Add artifact to transformer outputs earlier.

Namely, at the same time we set the transformer on the artifact.
Otherwise there will be a time window where the build graph is
inconsistent (and there'd probably be a memory leak as well).

Change-Id: Ief5d253e672ffcd76dfceab1572a5dcfdf4cdaa3
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Doc: document qbs_enable_project_file_updates

Change-Id: I1bc53e14219acec3ee9b3b88720bef25609e0a1b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
don't print usage on missing project file

This error is obvious enough to not show the entire help.
Also, this behavior is consistent with "qbs -f /dir" where /dir
doesn't contain a project file.

Change-Id: Icb0a4d8ce41d7480e02aca262faf14922aecab6e
Task-number: QBS-655
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
add a simple Version class

This class replaces the Version struct in setup-qt and the
ImportVersion class of the loader.

Change-Id: Ic65eaf62de44ce0c082fe805431463defce1fe3b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Fix JS command canceling for the "dry run" case.

No JavaScript is ever run, so it cannot be canceled either.

Change-Id: I322b2b1bb599273562f60028c07ac6bb09b4dd66
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix build.

Change-Id: I5bda4b7941506c39465b2462b24cc0fdf7c3f813
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Export information about project file updates being available.

Clients need to set the define as well when including the header.

Change-Id: I0aa73cb2f530258685dc44b9da99d04d8d737b13
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
make it possible to set module properties on artifacts in outputArtifacts

Example:
    outputArtifacts: {
        return [{
            fileTags: "blubb",
            filePath: "x",
            cpp: {
                includePaths: "mydir"
                defines: ["BLA", "BLUBB"]
            }
        }]
    }

Task-number: QBS-646
Change-Id: I3defa656e1a5b10fe56e4bbba7c354612144552c
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
put the project file artifact into artifactsByFileTag

The qbs file artifact was missing in that particular lookup table,
because the "qbs" file tag is added after insertArtifact is called.
This fixes tst_blackBox::testEmbedInfoPlist on OS X.
This commit amends 32c4d3d7.

Change-Id: Ibab9f301ca4cc4e562b4a397953add70351403bb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
fix Qt4 build

Change-Id: Icbfb31d435b804254e1df95ed188763360f7c33b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Add support for compiling Xcode asset catalogs.

Task-number: QBS-389
Change-Id: I2d93a55228c6ada801ed889404fac753182b82f6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add support for compiling Interface Builder storyboards.

As a side effect, some capabilities introduced here also apply to XIBs.

Task-number: QBS-466
Change-Id: I27eaf1a9a73ef25475b4f6b2bc971dcd941b6371
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add documentation for the ib module.

Change-Id: If772a815a9f0d99d00dc5037b236a71b7928a641
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
introduce Project.minimumQbsVersion

This property can be used to specify the minimum required QBS
version of a project.

Change-Id: I564f4298c060c3acf2f6221fb1d6978eda1dd1a5
Task-number: QBS-453
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
simplify signature of MSVC.prepareCompiler

Change-Id: I1c42f03aa7aa539560ba3da520a2df16758f9485
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
simplify signature of MSVC.prepareLinker

Change-Id: I6dc05e5ef71e4fd54e3a27b5e13de9bdb9c57940
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
fix build on platforms != OS X

Change-Id: Ie8f2226c7d9fe69e6c3842bbace8942674c6a959
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Allow qbs.endianness to be undefined.

If the property IS defined, it still must be in [big, little, mixed].

Change-Id: I77d64580d1dcce8ad027500ee8e394bf05d3d961
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Add autotest for tracking wildcard-related changes.

Namely, adding and removing files matched by patterns. This does not
seem to be explicitly tested anywhere yet.

Change-Id: I6d7b79500ee9e7375f22537da5db6a72057bbdee
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Doc: remove outdated information

The setup-qt tool does more magic these days.

Change-Id: I720a9421c5dc831d2e861d982875ac2e613fa605
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>