xinput2 support
Avoid symbol stripping by default.

Qt is built in release mode and strip files by default. Set
CONFIG+=nostrip to avoid the stripping and let distribution tools
 do it to generate debug packages.
Hardcode TMPDIR to /var/tmp (BMC#13603)

TMPDIR sometimes points to /tmp and sometimes to /var/tmp
To guarantee native platform key generation for QSharedMemory and friends,
we must hard code the temp path to /var/tmp here.

Author: Fathi Boudra <fathi.boudra@nokia.com>
BMC#15323: add support for QT_USE_DRAG_DISTANCE environment variable.

This allows customising of the drag distance based on an environment variable.
Backport Flickable dragging properties.

dragging, draggingVertically and draggingHorizontally were added in QtQuick 2.0. Backporting to QtQuick 1.2
Backport Flickable margins

Backport topMargin, BottomMargin, etc. and originX, originY
in QtQuick 1.2
Observe GL context loss in ShaderEffectItem

Recreate the shader program as required when the GL context
changes.  Also delete the shader program when the ShaderEffectItem
is deactivated, to save graphics memory.

Previously, this was done only for Symbian platforms, and in a
suboptimal fashion.  This patch implements the behaviour for all
platforms in a more optimal manner.

Signed-off-by: Chris Adams <chris.adams@jollamobile.com>
Add Qt.weekNumber()

Wraps QDate::weekNumber().
Backport PathView snapMode, dragging and maximumFlickVelocity

Backport PathView snapMode, maximumFlickVelocity and dragging
properties to QtQuick 1.2.
Fixes MER#585: Enable QDeclarativeView flags to work around mcompositor flicker

Task-number: QTBUG-17173
Ensure QDeclarativeTextLayout uses the correct pen

When a styled text specifies a font region with some color set,
QDeclarativeTextLayout used to revert to using a default-constructed
(black-colored) pen for text occurring after the </font> tag, rather
than the "default" (property-defined) color.

This commit ensures that the correct pen is used, by setting the pen
of the "inert" painter to be an invalid color rather than a default
constructed pen.
Nested Flickables with pressDelay flick incorrect Flickable

If the gesture is triggered within the pressDelay the outer Flickable
will always handle the gesture.  When the drag distance is exceeded
replay the press event to allow all Flickables an opportunity to
process the gesture normally.

Task-number: QTBUG-28189
Change-Id: Idd01150efdb0239be498cfa1b171ae578fbc7ba8
Enable password echo delay for TextInput.

Make the delay 1 second.
Do not emit origin{X|Y}Changed unnecessarily

These signals should be emitted only when the relevant value has
actually changed.
Clear focus of GraphicsItem focus scopes and their children.

A focus scope has effective focus if one of its children is the focus item,
clearFocus() should remove effective focus from an item and its children
not just from the focus item.

Task-number: QTBUG-28328

Change-Id: Ia24abbce9740447178d43eb1fb09ccf2c40c41da
Backport PathView currentIndex fixes from Qt 5

Backport 447e5acb880ebda498891623dc4009984cb73bc6 and
0fc361f96b06ba318e70610e46beb421753cae9d which fix bugs related
to currentIndex. The first commit ensures currentIndex=0 when all
items are removed; the second ensures that the initial currentIndex
value is respected and also resets the view correctly if the model
changes.
fix connman bearer for new API.

back ported from qt5 sha 68db0c8567d20491aa5a34dc2ded6f6863e2152b

Change-Id: Ib9cdbb6e4bdfed8420cdc2364503445924c8c57c
Disable generic bearer plugin.

It isn't useful for us.
update ofono API

(Change-Id is Qt 5, Qt 4 upstream is where?)

Task-number: QTBUG-29381
Change-Id: I952b73d86b4e8f497b4ff90d10c1f5312882bd8a
Don't update the input method if the im hints haven't changed.

Depending on the implementation updating an input method can be
expensive and various widgets will at times call setInputMethodHints
with unchanged hints.  QGraphicsView being a notable offender due to
the complexity of the circumstances in which the hints can change.

Skipping the update here ensures the input method isn't updated
unnecessarily for all widgets.

Task-number: QTBUG-19854
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
(cherry picked from commit 40e6b1d0b8c1804dfb33032fa70b6604b91f6f90)

Change-Id: I36ae35585ee20a4e01ca0d62c71e896dbdb51a3f
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>