Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Qwidgets onto qglwidget without QGraphicsScene/QGraphicsView

    Mobile and Embedded
    1
    1
    1731
    Loading More Posts
    • 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
      Tyan.J last edited by

      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 Reply Quote 0
      • First post
        Last post