Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. using Qt3D in a QWidget application
QtWS25 Last Chance

using Qt3D in a QWidget application

Scheduled Pinned Locked Moved General and Desktop
qt3dqwidget
3 Posts 3 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    looping
    wrote on 7 Jul 2015, 14:49 last edited by
    #1

    HI,
    I'm trying to use Qt3D in a QWidget app.
    there is no Qt3D widget, so what is the best way for that. I can't find an exemple to do it.
    Does I still have to use QGLWidget?
    thank you for your help

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WScape
      wrote on 9 Jul 2015, 14:04 last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zypo
        wrote on 14 Jul 2015, 16:26 last edited by
        #3

        QGLWidget is deprecate. I use QOpenGLWindow and it works. Make sure to call QOpenGLWindow::create() or it won't work.

        Here is a c++ example.
        https://github.com/qtproject/qt3d/tree/dev/examples/qt3d/cpp_example

        1 Reply Last reply
        0

        2/3

        9 Jul 2015, 14:04

        • Login

        • Login or register to search.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved