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
Forum Updated to NodeBB v4.3 + New Features

How to draw image faster

Scheduled Pinned Locked Moved Unsolved General and Desktop
openglqt5.9windows 10
2 Posts 2 Posters 720 Views 2 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.
  • Y Offline
    Y Offline
    yijia
    wrote on 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

    beeckscheB 1 Reply Last reply
    0
    • Y yijia

      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

      beeckscheB Offline
      beeckscheB Offline
      beecksche
      wrote on last edited by beecksche
      #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

      • Login

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