Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Enable hardware acceleration in QtWebEngine.



  • Hello, I would like to know how to solve the problem with WebEninge. I don't understand how I can enable Out-of-process Rasterization, Rasterization, Hardware Protected Video Decode. I was able to activate WebGL and other necessary things, but specifically hardware acceleration I do not understand how to enable. I found options with command-line arguments, but for me this method is not acceptable. Thank you in advance!

    4fba0155-4b41-48a0-ab32-6deca9afe218-image.png


  • Moderators

    @sepera_okeq said in Enable hardware acceleration in QtWebEngine.:

    I found options with command-line arguments, but for me this method is not acceptable

    AFAIK this is the only way to configure webengine "deeply".
    You can also use the QTWEBENGINE_CHROMIUM_FLAGS env variable to set the same flags, e.g. via qputenv() in your main method (before constructing a QApplication instance)


Log in to reply