Important: Please read the Qt Code of Conduct -

Gestures on embedded linux

  • Hello

    I have a class that derives from a QDeclarativeItem (Qt 4.8.6), in which I'm trying to get swipeGestures to work.

    In the constructor I have added


    However in

    bool GraphPopUp::event(QEvent event)
    qDebug() << "Event" << event->type();
    if (event->type() == QEvent::Gesture)
    return gestureEvent(static_cast<QGestureEvent
    return QDeclarativeItem::event(event);

    I am unable to detect QEvent::Gesture.

    Are there any examples or am I missing something?

    Thank you

Log in to reply