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. QGLWidget vs QGraphicsScene in QMainWindow

QGLWidget vs QGraphicsScene in QMainWindow

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    Hephaestus
    wrote on last edited by
    #1

    Hi all!

    I am a beginner in Qt. So any help and details would be really appreciated. I want to create a software consisting of a main window
    and an OpenGL area as the central widget. For example something similar to Blender, 3d Studio Max, etc... I have made one version with the QMainWindow and the QGLWidget as the central widget which works ok. However, looking at the boxes example, I have made another version with the QMainWindow and the QGraphicsScene (with its QGraphicsView) as the central widget. In this later version, application starts but the opengl area is freezed. Nothing moves. What is the suggested method? Keep in mind that my final target is to create an application where the user will be able to load the geometry from a file and draw it in the 3d window, rotate it, zoom in out, etc. Do you have any example similar to this to suggest? I can provide more details if it is needed.

    Thank you in advance!

    1 Reply Last reply
    0

    • Login

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