debugger: compile fix in self test

MSVC does not support #warning

Change-Id: Ie9f9575a53c4c124e2ecffc6ad55181f2049ec5f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Make sure cloned kits are considered to be manual

Task-number: QTCREATORBUG-8231

Change-Id: Ic5f4cc876fef1a06e877702a272230fc7f44b1f4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Fix build issues being empty for non-qmake projects

In qmake based projects we override LC_ALL to make sure the parsers
do not fail to extract build issues from the compiler output.

Do the same for the other build systems.

Task-number: QTCREATORBUG-5097
Change-Id: I75830c362a736df42a0500c889c3c42e42b82047
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Do not append '2' to cloned kit names.

They are named "Clone of Whatever", so there is no need for further
differences.

This solution as suggested by dt is better then the one I originally
used.

Task-number: QTCREATORBUG-8168
Change-Id: I0bb1b9361c05fdd6a6a4cdd556e3c6ccdb7c9ad4
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Another target -> kit renaming

Change-Id: I47dbca2155b6aec0dfa5ad2ca6fe632be00d39a2
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Creator Examples: providing custom examples-manifest.xml

The user can prevent the default loading of examples and
provide a custom example manifest file through the
environment variable QTC_EXAMPLE_FILE

Change-Id: Id458d321e2c8815312e338e458a5283ac64b5c95
Reviewed-by: hjk <qthjk@ovi.com>
Creator Examples: search for manifest files in qt5 submodules

Change-Id: Ifd7b838f1471ea08f942d350ed649b0b174e96c5
Reviewed-by: hjk <qthjk@ovi.com>
SDKtool: Make sure the Qt id starts with "SDK." when setting up kits

We do the same when adding a new Qt version.

Change-Id: I910421ee4d913c76688b9ef6e4787edcd7c6f09f
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
C++: Clean up dev tools.

* Add -h and -help options describing the tools and their usage.

* Make the tools compile and run on Windows (MinGW, MSVC).

* Rename project dirs, executables and main source files to more
  meaningful names:
  - Use same base name for project dir, *.pro file, main source file
    and (if applicable) script file.
  - Use the prefix "cplusplus-".
  - The names are now:
      - gen-cpp-ast/generate-ast --> cplusplus-update-frontend
      - mkvisitor --> cplusplus-mkvisitor
      - cplusplus-dump/cplusplus0 --> cplusplus-ast2png

* Get rid of 'c++' shell scripts.

* Get rid of duplicates of 'conf.c++'. Rename to 'pp-configuration.inc'.

* Introduce src/tools/cplusplus-tools-utils containing common stuff
  that is used at least in two tools. 'pp-configuration.inc' can also be
  found here.

* cplusplus-update-frontend:
  - Print file paths of written files to stdout.
  - Convenience: Use default values referencing the appropriate dirs and
    files.

* cplusplus-mkvisitor:
  - Take only one argument, namely the path to AST.h.
  - Convenience: Use default path to AST.h.

* cplusplus-ast2png:
  - Make it run without LD_LIBRARY_PATH.
  - As the name suggests, generate image files in png format (needs
    'dot' from graphviz).
  - Convenience: Read from stdin, which useful for small snippets.

Change-Id: I79c4061fce4a1571c0588dfedd50d4a70715d9df
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Creator Examples: prioritize default Qt version when searching examples

Change-Id: Id287332535494dd51609178d429d58749b0c28d6
Reviewed-by: hjk <qthjk@ovi.com>
QML Debugging: Qt Quick 2 Application Wizard

QML debugging is enabled by default for applications
created with the Qt Quick 2 application wizard.

Task-number: QTCREATORBUG-8208
Change-Id: I1869649ce88c35e2d8d4a6677b1d257f7454f223
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QtQuick wizards: Mark all wizards as either Qt Quick 1 or Qt Quick 2

Mark especially the import wizard as Qt Quick 1 only (we won't provide
a Qt Quick 2 version at the moment, and will most likely remove it completely
in 2.7)

Task-number: QTCREATORBUG-8313
Change-Id: I2dc0d4055a7e174d3d92525189c0d98e3b1f8860
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Kits: Allow autodetected kits to become default

Allow autodetected kits to be set as default kit. That was not
possible via the UI so far.

Change-Id: I6dac210d8390e6ab25cf8f022e5ae8293115cacf
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Fix regression: Windows SDK 7.1 compiler detection

setenv.cmd from Windows SDk 7.1 automatically maps to a cross-compiler
and does not know /amd64.

Nothing to do for Windows SDK 8:
"...the Windows SDK no longer ships the following components:
  Windows SDK Platform Toolset
  Visual C++ Compilers and C Runtime (CRT)
  Windows SDK Configuration Tool"

Change-Id: Iade79631c4fd30f376c08b6dd9b47d174c0d9059
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
C++: Fix code completion for Qt containers

This change solves only problem with Qt containers.
stl containers need separate change.
Problem was with predeclaration of template class after
declaration of this template class.
(there is unit test added which shows the problem).

Task-number: QTCREATORBUG-8228 (cover only Qt containers)

Change-Id: If1f76c88c955b7b55347d302b353f5cd52b244a4
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>

Conflicts:
	src/plugins/cpptools/cppcompletion_test.cpp

Change-Id: I9f665276926f2e440ad0c92e94dd1aeee89005b3
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Fix: no scope walking for name resolving after MemAccess operator

Change-Id: Ic093079fa65d8d749911fd9f5b0f629e9fe68a1e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>

Conflicts:
	tests/auto/cplusplus/findusages/tst_findusages.cpp

Change-Id: I87d305e2d68582aa00b92f9599368615cd76ec74
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
QML Debugging: Qt 5 CONFIG+=declarative_debug qml_debug

Pass both arguments to qmake. The assumption being that most
projects will not mix both Qt Quick 1 and Qt Quick 2. In the
case of others, debugging will be enabled only for the first
debugging client that is enabled. This is inline with the
current behaviour where debugging multiple engines is not
supported.

Change-Id: I90cd6c6ff559a3a7519ee3ee10690c0e8135c97b
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Win: Do fail less often when adding mingw Qt versions

Task-number: QTCREATORBUG-8225

Change-Id: I7b5db59ef7967a074e07ae87deff90235190aaa9
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Wizards.QmlProject: Creating a Qt Quick 2.0 file

The reference to Maemo does not make sense anymore.

Change-Id: Ic7f8245912d200397e7dcc20e69ee42eed2939dc
Reviewed-by: hjk <qthjk@ovi.com>
Inspector: Fetch objects lazily

QML objects are fetched lazily when constructing the object tree.
Incase parents have not been previously fetched, we fetch the
required data to construct only the relevant branch of the tree.

Task-number: QTCREATORBUG-8246
Change-Id: Id529c3b2334d33ff4eb46b14f50cf042ad2960e2
Reviewed-by: hjk <qthjk@ovi.com>