disable module when accessibility is not available

Using requires() instead of error() makes the build finish
gracefully when accessibility is not enabled.

This is useful when trying to compile the full Qt5 on platforms
like WinCE.

Change-Id: I4a0f6338c0bd406941b34f4d285b0577f3130dd6
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Make ComboBox work with variant list

Task-number: QTBUG-31992

Change-Id: If63c762cf3789ca1353dd40e7059f2d334e2dbe3
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Tests: Fix test for copy/paste for TextField

The copy() function was testing nothing and was not called.

Change-Id: I2b23e1cd206e0247949173f4aee8c60852c5b0d1
Reviewed-by: Liang Qi <liang.qi@digia.com>
Doc: Fix typo

Change-Id: I30caefc6be728677e14557c7bbb3d4a924007f94
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Tests: Fix warnings in tests

Ignore warning messages when they are expected.

Fix real warnings.

Also add missing tst_layout.qml to the test pro file.

Change-Id: I2a3835d386570aeb993f275793b3e5e69cc41599
Reviewed-by: Liang Qi <liang.qi@digia.com>
Prevent stealing of mouse events from the slider handle

Otherwise it is impossible to add a slider to a horizontally oriented list view

Change-Id: I241fb11f3eb1d9e55c4488330af2e1e839504f3d
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
TextArea: fix document margin handling

The text margin must be within the document, not in the containing
item. Otherwise it breaks user interaction such as text selection
over the margin area.

Change-Id: I048c07f9c4e44336de6fa3f7b74b0cc56f4d0d5e
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I1f98c38da1cbd0024d957effce1ecc80234af7bf