Fix building against Qt5 on MacOS.

Qt5 will set the mmacosx-version-min to either 10.6 or 10.7, depending
on the mkspec used. These lines resulted in two mmacosx-version-min
flags, when libc++ is used (macx-clang-libc++ mkspec), this leads to
compiler errors. As Qt/qmake already adds the flag, there should not be
a need to set it in the .pri/.pro files.

Change-Id: Ib8cc59d2b064737aa0b5a889b2b3183eceaea1f3
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Translate some strings

Change-Id: I5eab1edbca591cc36813cd862d6ad93875b51a3c
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Copile fix after f8645bb6

Change-Id: I3218ee94b414a4188c574bc63c9fa6c6d0d0a490
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
fix QCoreApplication::translate usage in cppchecksymbols.cpp

Change-Id: I4fdae811af1efde50705d857f222866af188885c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <qthjk@ovi.com>
QtSingleApplication: Compile fix after removal of QApplication::Type

Also remove code depending on Q_WS_X11.

Change-Id: I96aac6298cab5d7df5eeedb5678878563bc88370
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Doc: separate extension plugins for Qt Quick 1 and 2

Task-number: QTCREATORBUG-8269

Change-Id: I83dbfa1eb12405c6d9e4609669ecef165b348cf2
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
TextEditor: Translate some strings

Change-Id: I3df80d285060442e9e0c05dd6512f316b9e58d4d
Reviewed-by: David Schulz <david.schulz@digia.com>
QmlExtensionPlugin: Fix compilation with QtQuick1/Qt 5

Change-Id: Ib3899f8097c97114baeca0fe7c9b6ac4ba78dbde
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Split up QML Extension wizard in Qt Quick 1 and Qt Quick 2 one

Task-number: QTCREATORBUG-8269
Change-Id: I6b4a4d54499302354606f9446f68b9088daad1e8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Inspector: Update Editor on object selection

When an object is selected in the Inspector, the
Editor is updated to show the relevant code.

Task-number: QTCREATORBUG-8246

Change-Id: I4f7fbcccdeb22849682fa72c63e87a78f48d185b
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Editor: Check if file exists before extracting line no.

Correct also checking for flag value.

Task-Number: QTCREATORBUG-8272

Change-Id: I5f919d9c79639a04c05900dc8be950855478a3fe
Reviewed-by: David Schulz <david.schulz@digia.com>
Load Chinese translations correcly

Load Simplified and Traditional Chinese correctly via System
Language option.

This change is only valid with Qt 5.

Task-number: QTCREATORBUG-8253
Change-Id: I068c96d26e97ff534004ae53747dd6fc460edee2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Set the proper port on the remote channel.

Without this fix, GDB tries to connect to the gdbserver on the SSH port
when using the "Attach to Running Application" action. This fixes that
to use the proper gdbserver port.

Change-Id: I4ada31693879f28acf8046885d1dd15aff5d748c
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Mac: Fix "New" dialog resize problem.

The "fixed" size policy was leading to strange behavior (QTBUG-28041),
but I also don't see a reason for the dialog to have fixed size as
long as it has a sensible size at pop up.

Task-number: QTCREATORBUG-8171
Change-Id: I17a8db4adfe7872f68d0ce1f70b641fbf6b780ab
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Squish: Try to remove the strange snooze() call

Change-Id: Ic2a475bf27167e8e3c3d3d1b5dcfb02cfbecaad3
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Inspector: Disable object selection from Editor

Clicking around QML code in the editor would update
the Inspector. This is now disabled.

The problem with the behaviour is that the object tree
would be expanded and that may be unwelcome for some users.
Also some code snippets may be shared by multiple
objects, for eg. a custom QML component. In this case, the
behaviour was undefined as to which object in the tree would
be selected. This case of 'one-to-many' was not handled. Finally,
the inspector queries for object ids lazily. Hence, sections of
code may not be associated with an id resulting in unknown
behaviour.

Task-number: QTCREATORBUG-8246

Change-Id: I6266fd0767d0619af70387e2e867a756548120ca
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Squish: Removed some Mac workarounds

Change-Id: I85a4fee5acbb36096283daec982a8d31e42573b4
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
QML/JS Console: Update context

Update context from QML object tree or the stack frame
depending upon debugger engine state.

Change-Id: I4e6affba37acc016513ad95cd278a400aaa18c49
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Hide non-existing examples.

Can be force enabled with environment variable.

Change-Id: I262df587cf5a906a9e90850405c9db699c3727ab
Reviewed-by: hjk <qthjk@ovi.com>
Resolve demos and examples also relative to qt install paths.

Qt5 has the manifest files in QT_INSTALL_DOCS but the actual examples in
QT_INSTALL_EXAMPLES/DEMOS, which can be completely independent.
The patch tries to resolves files relative to the manifest, and if that
fails, relative to the install paths.

Change-Id: I7d449e1edab01f18680a5ffe6edcb508e7b194f6
Reviewed-by: hjk <qthjk@ovi.com>