MouseArea shouldn't grab the mouse until there is an effective drag.

A MouseArea shouldn't prevent a parent MouseArea or Flickable from
handling a drag event unless it is going to do something useful with
it.

(cherry picked from commit 67db779665b1d95a20720c0dee058c47f7df8726)

Task-number: QTBUG-29717
Change-Id: I17caa51ebc2e547e73e727fd185e60644591ad2b
Reviewed-by: Alan Alpert <aalpert@rim.com>
Flickable shouldn't grab the mouse until it starts an effective move.

If the boundBehavior prevents the flickable from moving its content
item in response to a drag it shouldn't grab the mouse as that will
prevent a parent MouseArea or Flickable from handling the drag.

(cherry picked from commit e8ca72d484c0e56f030e4742bb5f92b6f0555146)

Task-number: QTBUG-29718
Change-Id: Ief82ef7b898ea2581fd0b7e52548f451d887e2f1
Reviewed-by: Alan Alpert <aalpert@rim.com>
QPdfEnginePrivate: Fix invalid format for rectangles on some locales

This is done by using locale-independent QByteArray::setNum() instead
of qvsnprintf() for printing doubles.

Cherry-picked from qtbase c9ae652487514acd19f3631224ced7ac14f756c8.

Task-number: QTBUG-24949
Change-Id: Id0a6e9ad6a45d7e17dfcffd625891d68c00d516c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Fix Mac OS X SDK checks for non-default Xcode setup.

Don't assume Xcode is installed in /Developer; it can be
installed in a custom location.

These checks don't exist in Qt 5 any more.

Change-Id: I03ab68bb55b8e89694510a044404d29e480b0c5b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>