qbs files: Generate translations

Change-Id: Ia8e486e377a0858974fd6503f85762bb34039786
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Make handling of model ids compatible with Qt 5.

QAbstractItemModel::internalId() returns a quintptr in Qt 5. Handle this
in a way compatible with both Qt 4 and Qt 5.

Change-Id: Iacb9ab71e95085f061fac1e3f4e4759ed43ca7ef
Reviewed-by: hjk <qthjk@ovi.com>
Introduce $$QTC_PREFIX

'make install' now installs to $(INSTALL_ROOT)$$QTC_PREFIX/...

This is used for giving the contents of the 7zips an additional prefix.
(previously done by doing an additional copying step in bindistHelper).
QTC_PREFIX can also be used to give Qt Creator a different install path
at qmake time, and defaults to /usr/local on Linux.
On Windows and Mac there is no default for QTC_PREFIX.

Usage: qmake -r QTC_PREFIX=/qtcreator-2.6.0 && make &&
INSTALL_ROOT=/tmp/creator-dist make install

Change-Id: Id30781e14bfdde52531800f22b22e39f0459e806
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Squish: Fix in tst_create_proj_wizard

Change-Id: I6d8541f1e734bc1f425456b22b2b392f181a62c7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Always save settings on exit

Task-number: QTCREATORBUG-7904

Change-Id: I1f7e1462db287cfda2d131f380c7235a94832e69
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Qt: Use any desktop Qt version if the Qt in PATH is not found

Avoid having a default kit without any Qt version set if we have
one that could be used for the desktop.

Task-number: QTCREATORBUG-7892
Change-Id: I58ae9b286eb6424757ee44bad9021340720e5826
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Remove useless code

Kit names are unique already, no need to try and make them more
unique:-)

Change-Id: I315387808aec790b85ee301f22984eda81608467
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Squish: Fix getConfiguredKits()

Change-Id: Ie8a38eedac3e89abbe0bfb659ccc57bb7a30990d
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Squish: More explicit name for Desktop kit

Change-Id: Ibc711e37ca71d3543a8fa8b46fb2ac7c9c5c4129
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
match Qt version in README with qtcreator.pro

Change-Id: I2ffd1d4fb8e3fa58a333de31ee06cf51d0cdbc5f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Squish: Fix losing focus on Mac

Change-Id: I4dcf69cd644e2a9c5de46de639abc69d90334342
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Help: Prevent moc from running on helpviewer_qwv.cpp.

If Webkit is disabled, moc will run on the file anyway, because there is
a ".moc" included and moc does not know about #ifdefs. This results in
an ugly warning ("no output generated") being emitted in the no-Webkit
case.
Solve the problem by moving the declaration of the QObject subclass into
the header file.

Change-Id: I2abaffd85a342fa2f3dbaa7bcf3ef63a2972c73e
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Detect Qt5 in PATH

QMake is of version 3.0 in Qt5 and we failed to get the Qt version
from its output due to this.

Change-Id: I3208868d4cde652a3dd1e45f78d4f349b0acdd37
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Import to all possible kits

List any detected build in all kits that match the characteristics
of the project build settings found when importing a build for
unconfigured projects.

So far we just listed it with the first kit we found which is
surprising sometimes (e.g. when having a embedded linux and a desktop
kit using the same Qt version).

Change-Id: I9d1de26eca3dcabd424064a66019f5f6be876249
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Mark kits as temporary when applicable

When importing existing builds we end up with kits that are not
defined by the user yet. These kits are destroyed if the user does
not import those builds after all.

This patch marks these kits as temporary till they are accepted and
become permanent.

Change-Id: I4789a457abfb3cf26e855a4fed553c330be312e1
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
s/profile()/kit()/ in Qt4TargetSetupWidget

Change-Id: Ia785f715b120b32875944d3818d85a24a5f38a7b
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Use default mkspec when supported by the tool chain

Change-Id: Icd47ae8cd7871389d9080091c429baa65d868e42
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Make sure qmake pathes are canonical when reading settings

Change-Id: Ide77979b2bc8a0c6e3547cea5f703259cc5ab339
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Doc: use same terminology as in the changes file

List supported types of animated images.

Change-Id: Iae12c805db9bc69da97b842e79f1aa18a3d6ff5d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
SDKtool: Always write settings to the place creator expects them

Simplify the .pro-file while at it and add rpath.

Change-Id: Ia111e76093c6c375d04fca51d81ac87a267b0121
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>