q3d touchevent not working on android device

  • in example basicshapes-cpp,

    int main(int argc, char **argv)
    QApplication app(argc, argv);
    Qt3DExtras::Qt3DWindow *view = new Qt3DExtras::Qt3DWindow();
    QWidget *container = QWidget::createWindowContainer(view);
    QSize screenSize = view->screen()->size();
    container->setMinimumSize(QSize(200, 100));

    QWidget *widget = new QWidget;
    QHBoxLayout *hLayout = new QHBoxLayout(widget);
    QVBoxLayout *vLayout = new QVBoxLayout();
    hLayout->addWidget(container, 1);

    Qt3DRender::QCamera *cameraEntity = view->camera();
    Qt3DExtras::QFirstPersonCameraController *camController = new Qt3DExtras::QFirstPersonCameraController(rootEntity);

    widget->resize(1200, 800);
    return app.exec();


    this view create by Qt3DExtras::Qt3DWindow,
    There's not been a positive response to cameraEntity when i touch my android device,

    how can i give a event to the Qt3DInput::QInputAspect;

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.