Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Automatic fallback to software rendering
Forum Updated to NodeBB v4.3 + New Features

Automatic fallback to software rendering

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 302 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.
  • B Offline
    B Offline
    Bob64
    wrote on last edited by Bob64
    #1

    Some users try to run my QML application on non-ideal hardware - i.e. without appropriate graphics hardware/drivers. What usually happens is that I get a report that the app flashed up with a white screen and then crashed almost immediately. I then get them to try running with the environment variable to turn on software rendering and it usually works for them.

    Ideally I would like to be able to detect this situation automatically, and turn on software rendering for the user, perhaps displaying a warning in the GUI that software rendering is being used.

    Is there any way that I can do this? The only thought I had was to run with QSG_INFO set and then try to parse the output. However, I don't know if there is anything I can reliably look for in there.

    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