Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qwidgets onto qglwidget without QGraphicsScene/QGraphicsView
Qt 6.11 is out! See what's new in the release blog

Qwidgets onto qglwidget without QGraphicsScene/QGraphicsView

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.9k 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.
  • T Offline
    T Offline
    Tyan.J
    wrote on last edited by
    #1

    Hi.
    I have a problem with performance of my Opengl program, based on QGraphicsScene/QGraphicsView.
    There are complex calculations with every MouseMove, and period between MouseMove event is about 5 msec if I am using QGraphicsScene/QGraphicsView and QProxyWidgets.

    Using QMainWindow

    QMainWindow w;
    w.setCentralWidget(new CDrawingWidget(&w)); //CDrawingWidget == QGlWidget

    gives 50 msec between MouseMove event. Much faster, but there are problems with widgets onto MainWindow.
    For example all widget shadow area is white.

    Can anybody give some advise how to solve the problem?

    Thanks!

    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