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

webgl disabled in qt5.10.1 and cef3



  • 0_1551933314622_1eab9257-f7e1-4dbf-971a-8eaa872eb660-image.png
    i use qt5.10.1 and cef3 to make an appication with webgl. but always get the err of webgl disabled.
    i also define the commandline in cef3,it's no use.
    command_line->AppendSwitchWithValue("enable-webgl", "1");
    command_line->AppendSwitchWithValue("ignore-gpu-blacklist", "1");
    command_line->AppendSwitchWithValue("allow-file-access-from-files", "1");

    and if i do not use qt frame, it works.
    0_1551933804319_2e92cf56-4338-44b5-91f7-3ab9245831b0-image.png
    Do i need to define other parameters or flags in qt?
    Help!


Log in to reply