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

HW acceleration of QWidget

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 2.0k 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.
  • R Offline
    R Offline
    Radim
    wrote on last edited by
    #1

    As far as I understand this article http://doc.qt.io/qt-5/embedded-linux.html, the QWidget is software rendered if EGL is used.

    However I would like to have my Qt GUI applications HW accelerated if the device provides HW accelerated graphics. Is it possible to configure Qt to HW accelerate QWidget class? I know I can use QOpenGLWidget class, but this means to at least conditionally compile the Qt application depending on the target platform capabilities.

    JKSHJ 1 Reply Last reply
    0
    • R Radim

      As far as I understand this article http://doc.qt.io/qt-5/embedded-linux.html, the QWidget is software rendered if EGL is used.

      However I would like to have my Qt GUI applications HW accelerated if the device provides HW accelerated graphics. Is it possible to configure Qt to HW accelerate QWidget class? I know I can use QOpenGLWidget class, but this means to at least conditionally compile the Qt application depending on the target platform capabilities.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      @Radim said:

      However I would like to have my Qt GUI applications HW accelerated if the device provides HW accelerated graphics. Is it possible to configure Qt to HW accelerate QWidget class? I know I can use QOpenGLWidget class, but this means to at least conditionally compile the Qt application depending on the target platform capabilities.

      QWidget is an old technology that is software-rendered in general. (Note: It's old but mature, stable, and still widely used) It was not designed with hardware acceleration in mind.

      To take advantage of hardware acceleration, use Qt Quick:

      • http://doc.qt.io/qt-5/qtquick-index.html
      • http://doc.qt.io/qt-5/qmlapplications.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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