diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-01-02 17:39:44 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-01-03 13:36:48 +0000 |
commit | a11ae74d23890fc3ba1782a286bc226e2db21439 (patch) | |
tree | e8ba21a0fb7dc58e7b57d113dbddb7a121249cf7 /tests/auto/controls/material | |
parent | 7c5920885ccefd999ed55245c1a500e110a5acb7 (diff) |
QQuickSlider: handle touch events
In comparison to handling synthesized mouse events, handling touch
events has the advantage that it gives multi-touch support. That is,
it is possible to move multiple sliders at the same time, each
handling its own touch point.
Change-Id: I713307b0e6b5ee777496fc9ba68a5180d13a6aca
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls/material')
-rw-r--r-- | tests/auto/controls/material/tst_material.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/controls/material/tst_material.cpp b/tests/auto/controls/material/tst_material.cpp index 2825b127..5d82c030 100644 --- a/tests/auto/controls/material/tst_material.cpp +++ b/tests/auto/controls/material/tst_material.cpp @@ -41,6 +41,7 @@ int main(int argc, char *argv[]) { QTEST_ADD_GPU_BLACKLIST_SUPPORT QTEST_SET_MAIN_SOURCE_PATH + qputenv("QML_NO_TOUCH_COMPRESSION", "1"); QQuickStyle::setStyle("Material"); return quick_test_main(argc, argv, "tst_controls::Material", TST_CONTROLS_DATA); } |