diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2017-06-28 14:39:19 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-08-30 11:55:30 +0000 |
commit | 4c46dce8fd9c9dddddd1d07f56396b3eabb2efc4 (patch) | |
tree | 4906c73b440d410f0f09aa85965a1f864be664cb /tests/auto/quicktest/quicktest.pro | |
parent | 457c5bcb148e8ff13141e086b905f47d8b9ae03c (diff) |
Make QtQuickTest::mouseEvent use QTest::mouseX
Fixes QQuickItem::isUnderMouse returning wrong information when
moving the mouse cursor with QtQuickTest::mouseX
Also changes TestCase.mouseDrag to actually resemble more what
real life does, i.e. send mouse moves with the same localPos
if the item has already moved and update tst_drag.qml accordingly
Change-Id: I80e4ab097da90d21ba987466c1b82467755a6b56
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quicktest/quicktest.pro')
-rw-r--r-- | tests/auto/quicktest/quicktest.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quicktest/quicktest.pro b/tests/auto/quicktest/quicktest.pro index 3b4ec23a64..ee22131753 100644 --- a/tests/auto/quicktest/quicktest.pro +++ b/tests/auto/quicktest/quicktest.pro @@ -1,3 +1,4 @@ TEMPLATE = subdirs SUBDIRS = \ - signalspy + signalspy \ + testevent |