Important: Please read the Qt Code of Conduct -

Testing Qt3DInput::QMouseEvent::RightButton and Qt3DInput::QActionInput

  • Hello,

    I am trying to write some test for a class that handle Qt3DInput::QActionInput, specifically {Qt3DInput::QMouseEvent::RightButton}.

    In my test I am creating a new Qt3DInput::QMouseEvent with a QMouseEvent(QEvent::MouseButtonPress, QPointF(), Qt::MouseButton::LeftButton, Qt::MouseButton::LeftButton, Qt::KeyboardModifier::NoModifier);

    Now, I don't really understand where to feed this event.
    Any advice?


Log in to reply