[Interest] simulating pinch

Christopher Probst christop.probst at gmail.com
Tue Jan 9 18:21:07 CET 2018


Hello,

I am trying to use the QML test framework to simulate a pinch. The API
which is here

http://doc.qt.io/qt-5/qml-qttest-testcase.html

does not provide any methods to simulate a pinch. This seems like an
oversight.

There is code that shows how to do this here:

http://code.qt.io/cgit/qt/qtdeclarative.git/tree/tests/auto/quick/qquickpincharea/tst_qquickpincharea.cpp

But QQuickPinchArea, QQuickPinch and QQuickPinchEvent do not seem to be
available. Invoking these classes will cause a linking error.

Is there a sane and simple way to simulate a pinch with the Qt/QML test
framework?

Thanks,
Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180109/35b2606b/attachment.html>


More information about the Interest mailing list