Problem with QT webengine hardware acceleration
Solved
QtWebEngine
-
wrote on 14 Aug 2017, 11:18 last edited by xiao499242740
-
wrote on 28 Aug 2017, 02:46 last edited by xiao499242740
I had resolved this problem by reading the webengine resources and understanding the usefulness of chromium command line switches. The solution is as follows:
1.I had finded that the QT resources(Src\qtwebengine\src\core\web_engine_context.cpp) have such a section as following picture shows:
This section is used to transmit the chromium command line switches into chromium browser progress .2.With the foundation of step one, i used these command lines such as "--ignore-gpu-blacklist" ,"--enable-gpu-rasterization" to my application. Then it works for me!
For your all reference.