Fix compilation on mac (gcc 4.0.1)

Change-Id: I940d1cbd0505b5bf1452c8524fb987fab4c3c783
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Welcome screen: Turn the "Icon plus link" into a component

Change-Id: I65006bbd0c0b26f84eba2c38e511c53ae23753da
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Preprocessor: Handle variadic arguments (__VA_ARGS__).

Change-Id: I69aa6c5e01ea97a4413f77f20ebbb4d4beb971aa
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Preprocessor: fix handling of first empty argument.

First empty argument used to be dropped: e.g. MACRO(,test) would be
expanded with one parameter only, with value 'test'.

Change-Id: I693fbb7faf1360f62266fa04c4b39c2de0d159a7
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Preprocessor: fix expanding macro arguments.

Expanding macro arguments can add or remove argument for a nested macro,
so the actual parameters list was not correct.

Also, remove unused arguments reference list and reserve space for the
expected number of arguments.

Change-Id: I4cf369cbb3909927c6bf65750bd715fa6f070fad
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Preprocessor: fix line for generated code.

The macro used to be at the same line as the first token after the
closing parenthesis.

Change-Id: I4c2d7317632baf612900e84572017aeb247d0585
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Pathchooser: Add method to get/set base dir using a FileName

Change-Id: I29f09197f98ad12f3508ff2357dc294b2f820050
Infrastructure for renaming of targets

We can not rename targets right now, but that is coming:-)

Change-Id: Ia16b7523946f4e278b70708afec8c32a7989b00e
Device: Add method to get the index of a idevice

Add a method to get the index of an IDevice * in the DeviceManager.

Change-Id: Icf02c8a682185ebe9ea68fd4edb026d1c8335112
Add System class

Add a class to describe a "System". This will aggregate information like
 * debugger used
 * Qt version
 * tool chain

Change-Id: I12a7f0efecd48652d012890d5947d3c96007fc44
System: Add System to target

Change-Id: I9e0159058afadb625e7be9b27d06b8a16a9f9d75
Debugger: System support

Extract information from system, not the tool chains.

Change-Id: I48bfbe25ec52daff6cf071c061aacbb9faa58b4f
Remove debugger from tool chains

It is in the system now, next to the tool chain.

Change-Id: I8bfde6e17430f65c7be7614a819437e7ae328044
More Qt related System Information

Change-Id: Ie2b99ff51737c102c26782f56b085ef2469103ff
System: Force a system for each target

We do not allow to select a system yet, it is just some system choosen
that should work with the target.

Doing the right thing there is the next step...

Change-Id: I5304cfe815a23ed442cca37928d0cb53dca4a8ab
Target: Use system's displayname and icon

This breaks some of the target factory names, that can only be fixed
once I move over the ids in the next step.

Change-Id: I0712d3126671f13852e74e1930de7f83eac869f1
Use Core::Id

Use Core::Id for all the project related objects in favor of plain
QStrings.

Fix the fallout of that change, even though that introduces some problems
with RCs that encode file names into their IDs. That is somewhat broken
at this time.

Change-Id: I790ab40cb29899efdb49c413a77609486f52e683
Use system id for targets

Change-Id: I6af9c55e5c21766575f94ed1e91f0b9c87e86c7c
WIP: Remove toolchain and qtversion from QtVersion

Change-Id: I91fc00c9fff842aae014d53c8b092a76ee322be4