GCC: Actually use sysroot for header path detection

Function signature was prepared for that on
4c6b794774b3d18b57fc1bf3bce65532b7d9337e but it wasn't really used

Change-Id: I1ee7059a00f0441d42a117b8f8d2c8c776d93815
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Squish: Fix for renaming Targets to Kits

Change-Id: Ia3faec39499bc7e65d5d0a0fb7963fcb4016c6d5
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
C++: Fix crash in auto deducing mechanism

There was an inconsistency, since the AST used in ResolveExpression
was not really the same previously computed. In the particular issue
below a crash could occur, for example, when using auto in a for
range loop.

Task-number: QTCREATORBUG-7828
Change-Id: I02958f434c3cf3b50609546003fc141674ee78d5
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Add error string to IRunControlFactory::createRunControl

And add a few helpful error messages

Task-number: QTCREATORBUG-7826

Change-Id: Ia9f9fa476cecf2cff198bc460408bc062e119338
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Squish: Fix for modified and new project template

Change-Id: I352a7164391531b6cb48facfb83e56bfadf3c21c
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Squish: Use global objects.map from inside APTW

Change-Id: Ica05af5652a3666277723e6ef9e96ecd5dc0c9f5
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
tr()-Fixes: Fix spelling errors in text editor settings.

"Occurrences", "parentheses", "applied to".

Change-Id: I48d3d4e6c10e29888f4f2ee6dfbe02b0b0c5646b
Reviewed-by: David Schulz <david.schulz@nokia.com>
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
QNX: Fixed crashes when no BlackBerry device is selected in the kit used

Change-Id: Ic3059a0dd128bc66495f3288bbf1982f81d023d6
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Add debugger engine type to configuration.

Introduce a struct DebuggerItem as a debugger configuration
item, containing debugger engine type and binary. Store
information as a variant map. Add a combo box.

Remove engine guessing logic. Parts of it are still required
when checking the suggested debugger from the SDK.

Split error checking to be able to do a quick error check
and find only valid profiles in the matchers.

Pass on errors up to RunControl::create().

Change-Id: I08653e2a76ca2c371701082f8173b0b8f8ed462e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
KitChooser: Introduce virtual methods for Debugger.

Introduce virtual methods such that it is possible to
write derived classes for specific KitInformation classes,
allowing for filtering and setting text and tooltip.

Remove debugging-specific code of KitChooser from
the ProjectExplorer.

Move populate() away from the constructor as not to call
virtuals from it.

Implement DebuggerKitChooser. It should no longer be
possible to to choose an invalid kit for debugging
from the debugger starter dialogs.

Add a protected constructor to DeviceProcessesDialog
allowing to pass a KitChooser.

Change-Id: I8c683a2da7d69bfbccdc08213cb47d69a0df8b3e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
C++: Discard comments in macro definitions

Task-number: QTCREATORBUG-7815

Change-Id: Id3e6b018bfd58b0f0072c637d69721a4bde1603a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Introduce $$QTC_PREFIX instead of abusing $(INSTALL_ROOT).

Reason: $INSTALL_ROOT is only meant to be used by packagers
to temporarily put the contents into a different location,
which is needed for fakeroot packaging.

QTC_PREFIX is not a qmake variable, and defaults to
/usr/local. On Windows the default prefix is "QtCreator",
since "make install" is expected to be used in
a packaging context only where either INSTALL_ROOT
should be used or QTC_PREFIX should be set to the
absolute destination path where e.g. an installer
generator will pick it up.

Change-Id: Ifa4950340e58e34726c53f5417adcc7b50828ce1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Doc: remove Remote Compiler, as it is no longer supported

Change-Id: I98c7a66303a7b6c4a6e6a52a2a7fd85aef647d37
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Squish: Substitute tilde inside toolchains

Change-Id: Ibf0ddfa4aecaa669d843d28f83fe6d814faeb219
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Squish: Use global objects.map from inside CCOM

Change-Id: Icc22f595f6c5c9472755e1134b7663dde7bccb86
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Make sure newly added kits are visible

Task-number: QTCREATORBUG-7803

Change-Id: I4dd190dc336ef6d64a8f3a800438909cdd3f258e
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
QNX: Fixed running the application if first attempt failed

When the first attempt to run an application on the BlackBerry device failed,
e.g. due to not being able to connect to the device, the Play button remained
disabled, so any subsequent attempts to run the application was not possible.

Change-Id: I2b9778f7b936e06b2594d2485d7e5575cddbba14
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Do not make kit names needlessly ugly

Change-Id: I18590604c307f0da831aa15efaf113633cd9a014
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Add more possible qmake names

Change-Id: I5f8d2a877ce37015bdea999cce805b0fdc910325
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Re-add version tooltips for debugger command.

Change-Id: Ic89c98426796401577abfd2301fc77e7ee8a8f9b
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>