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. How to draw image faster

How to draw image faster

Scheduled Pinned Locked Moved Unsolved General and Desktop
openglqt5.9windows 10
2 Posts 2 Posters 690 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.
  • Y Offline
    Y Offline
    yijia
    wrote on 10 Jan 2020, 08:36 last edited by
    #1

    I'm drawing some images on a widget inherited from QOpenGLWidget, and it shows properly.But on some computers it doesn't show anything. I used OpenGL Extensions Viewer and it told me the opengl version is 1.0.0. Maybe the graphics card is too old to support opengl. So I used drawPixmap instead of opengl functions, which is available but slow.
    My question is: Is there a way I can draw image faster without opengl ?I'm considering ANGLE, but I know little about it and dont't know how to start.

    Extra info:
    IDE: VS2015+Qt5.9.6
    platform:Windows 10

    B 1 Reply Last reply 10 Jan 2020, 14:29
    0
    • Y yijia
      10 Jan 2020, 08:36

      I'm drawing some images on a widget inherited from QOpenGLWidget, and it shows properly.But on some computers it doesn't show anything. I used OpenGL Extensions Viewer and it told me the opengl version is 1.0.0. Maybe the graphics card is too old to support opengl. So I used drawPixmap instead of opengl functions, which is available but slow.
      My question is: Is there a way I can draw image faster without opengl ?I'm considering ANGLE, but I know little about it and dont't know how to start.

      Extra info:
      IDE: VS2015+Qt5.9.6
      platform:Windows 10

      B Offline
      B Offline
      beecksche
      wrote on 10 Jan 2020, 14:29 last edited by beecksche 1 Oct 2020, 14:30
      #2

      @yijia

      Maybe with different QLabel and QPixmap or QPicture

      https://doc.qt.io/qt-5/qlabel.html#pixmap-prop
      https://doc.qt.io/qt-5/qlabel.html#setPicture

      1 Reply Last reply
      0

      2/2

      10 Jan 2020, 14:29

      • Login

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