compile fix for gcc 4.4

Task-number: QBS-687
Change-Id: I6ab930513e8769cbf9212369085176d51062fb57
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
fix property values of Application.type and friends

Product.type is an array of strings, not a string.
Using a string literal here breaks the base.concat pattern in
derived products.

Task-number: QBS-675
Change-Id: I83aef275cd6ad524062382afe40a59bc2a47a787
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Allow 2-component ibtool version numbers.

This fixes use of the IB module with Xcode 6.

Change-Id: I5f300e888562450994c0cf7f6d9dc5d9306e0cad
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Make Info.plist formatter commands case insensitive.

This matches Xcode behavior.

Change-Id: I5244cecd3841e922185146a9273c9fb07e06eaa5
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
API: Fix equality operators for the *Data classes.

In particular, the ProjectData class inexplicably omitted to compare the
"name" attributes.

Change-Id: I23b29874299629c62585f8680afa0b52a67e697b
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
remove dead code

Removed code that handles Artifact items below Product items.
This is not supported and never really was.

Change-Id: Id9e6d72c0f8eaab1dbfd59732bb4fd5057aad8b2
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
fix evaluation in subitems of disabled products

Property evaluation in subitems of disabled products didn't work
properly and led to evaluation errors.
Even though a product is disabled, we must handle its subitems in the
ModuleLoader to make module properties available.

Task-number: QBS-671
Change-Id: Ibe051357095766b47e242b65c7899baeb6b0ee43
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Check whether profiles listed in Product.profiles actually exist.

Otherwise people will get cryptic messages about missing properties if
they mistype a profile name.

Change-Id: I732a7ab6a5c0f79ddee7d4f028c2514aec265d0a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Use the right search and plugin paths in API tests.

Task-number: QBS-684
Change-Id: I45403d7fce4429387b67ff0b50ba2b6208580c17
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Tests: Don't use nm to look for symbols in an object built by MSVC.

We relied on nm not being available on Windows, but it can be if mingw
is installed.

Change-Id: I13a93a7a3b54129f75e1a746a09c9abd9f89ee33
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix wrong property names in ib.js

Change-Id: I9419b4a986dda1e2c367e1308bb03f7d96f5a2ef
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
libqtprofilesetup: Fix mingw use case.

- Don't assume the mkspec has "mingw" in its name.
- Relax overly pedantic tests in gcc.js: If a library
  name is an actual file path, then use it as one,
  regardless of what it looks like.
- Some autotest adaptations.

Task-number: QBS-688
Change-Id: I1d0d51b04ae81d4c10f8cdcc18d6447233e44863
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Replace QTC_HOST_* with QBS_HOST_*

There are conflicts when both hostosinfo.h headers are included

Change-Id: Ie6fbbed234c1273163e53bed198f5a1054277ecb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Make the "sourceDirectory" property get inherited by sub-projects.

Change-Id: I3bfa722cdae4a68d779019bc3660aef289b8154e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add tools/architectures.h

The architecture-related functions do not belong into hostosinfo.h.
What's even worse is that we currently include that private header in Qt
Creator, which is a no-go. So introduce a new public header that
supplies the required functionality.

Change-Id: I413c1bcfdf799f3aa768ce5c116f0122da8ac81c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
libqbsqtprofilesetup: Get rid of bogus warnings about missing prl files.

- Don't look for debug libraries in a release-only Qt (and vice versa).
- Some libraries are never built as debug libs.
- On Darwin, some modules are not frameworks even in a framework build.

This also fixes a bug setting up plugins of a static Qt build.

Change-Id: I7e6c1e06070897982fdb9b12930bd7f75ae620b0
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Make Qt build variants logic more sensible.

We no longer force the Qt build variant to match the build variant
of the application linking against it (except for MSVC, where that
is required).

Change-Id: Ie2c80fbb0d688cdcbab57ad638aaccbbd6988a22
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Documentation: Add missing Module property descriptions.

Change-Id: If166a9ee3f9cec648c021511551c5df935820860
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add missing copyright notice.

Change-Id: If76a48cba01f34a2e5a78905d94a86538de1c81a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Improve the documentation for the Module item.

Everything we showed there was how to add dependencies, which is more
relevant for the Depends item and has consequently been moved there.
Instead, we now show a complete module and how it interacts with a
product that has a dependency on it.

Change-Id: I4858e47c1d4c8c9861f40089c572c13e3b0ae83b
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>