Qnx: Properly setup the environment vars in the bar descriptor

The environment variables in the bar descriptor are modified
depending on the Qt deployment option the user selects.

This causes inconsistent behavior if the user modifies those values
on the template file. The env var values will be generated
in the final bar descriptor without being visible on the template
to avoid any user modifications that won't apply correclty.

Note: For next releases, the bar descriptor needs to be handled
properly to avoid any black magic so all modifications should
be visible to the user.

Task-number: QTCREATORBUG-11916
Change-Id: I00a2c855be3def31cd008071c6269e5a69f81536
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Qnx: Fix crash when running with no device

"Run" should be disabled if active the kit contains not QNX device.

Task-number: QTCREATORBUG-12143
Change-Id: I6cf9c70a8c3fc2ec63833e93840c9310345bc2b6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Clang: Compile fix for Qt 4

pchmanager.cpp:325:21: error: 'CppTools::ProjectPart::Ptr' has no member
named 'reset' projectPart.reset();

clangcompletion_test.cpp:305:59: error: no viable conversion from
'QLatin1Char' to 'const QString'
	.arg(text).arg(texts.join(QLatin1Char(','))));

Task-Number: QTCREATORBUG-12122
Change-Id: Ie591594da1e3d357e38efe216d758f15ad6c2cd2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Qnx: Properly set Qt environment on device

Task-number: QTCREATORBUG-12171
Change-Id: I8adb7398991cf093771b561e4711b38df8aa0e27
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Welcome: Remove unused "communitywelcomepage.h"

Community is still welcome, but that file was really not used since
ages.

Change-Id: I0f682b50638d916bc20c61ef502e967c26648804
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Squish: Update recommended version

Change-Id: I4077a2f4de7aeaa5dbcf4991e01d5449130ca438
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Git: Return true when asked to close a editor that is not open

Change-Id: I645c371c0ca94cef9885475f580ed463fc643b2a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Squish: Stabilize tst_select_all

Same issue as fixed by 6827072facb8c20d2437191ac9847fa30523ad67

Change-Id: Icb47db58dd647b4263452c5d36ab241fc40eccb0
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Squish: Throw fatal on empty task

Change-Id: I815810ffbe295cabf37e8a14000243481b799800
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
qmljs: better defaults, more uniform handling of paths

Uniform handling of the different qml dialects.

Now paths for a given document prefer the project of that document.

For Qt the following sequence is used:
- Qt of the project of the document
- Qt of the active target
- Qt used to run creator

Currently all paths of the open projects are still merged, but that
can be changed.

Change-Id: Iacf28d63184c05e2bcdfe0210ec472d2bf140d66
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
qmljs: ensure that opening an editor always updates the modelmanager

Change-Id: Ia23d9c84240bd2c54b0c331494474d0fa74674e8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
qmljs: add qbs default paths

Change-Id: Ia9e4d6d87ebe24b9c1fb7f43f8c78d55c404693e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
qmljs: fix compilation for Qt4

Change-Id: Idb3ad6962e74dd7a34f108c6e3c3810d843a3f3a
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
qmljs: fix compilation with Qt4 (attempt 2)

Change-Id: I4a324dc0c6558dc8494d576b75b81a55455f218a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Core: Fix MIME type editing when using filtering

Task-number: QTCREATORBUG-12149
Change-Id: I53556eadc7bf5ed5bf6778613a61e904acb4ff6f
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Squish: Provide functions to create cpp library

Change-Id: Iac24626801cadb28709d24f140862bb4808935df
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
QmlDesigner: Quote paths

Change-Id: I8c06aaafc51e010cebfc9946c4943ccfb86aafd9
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Revert "qmljs: fix compilation with Qt4 (attempt 2)"

moving original patch to master

This reverts commit 24c020baf00f0ccc3c8319da1261d6748d5a39b7

Change-Id: Iab24b97c058483d6d1dfbd557bf635ef3e102512
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Revert "qmljs: fix compilation for Qt4"

moving original patch to master

This reverts commit c5b6e6ae1c60cb5692deef0db4c3dfbcf0859a1d

Change-Id: I84153a3aaf3ab5ca670ed62aa62babce5bbd51e9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Revert "qmljs: add qbs default paths"

moving original patch to master

This reverts commit 809d6b96be8842c854364f7e4181ee3bc15e495d

Change-Id: If875d22f8dad93d40be7a12e3fe3b308d6cafb8e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>