Qt World Summit: Submit your Presentation

Problem with QQuickView, Displaying 3d Scene from QML

  • Hello. :)

    Firstly, I am trying to render a 3d scene using QML. To do this, I am using QQuickView. However, I am only getting a blank window. I am basing this on the one of the Qt 3d examples which come with the IDE.

    Secondly, as the commented out code indicates, I would like to interact with a QML-placed 3d entity from my C++ code. Essentially, I would like to lay out the scene using QML, and then move things around using C++.

    Here is a screenshot which shows the problem, and my code:
    alt text

Log in to reply