Important: Please read the 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.
    Do i need to define other parameters or flags in qt?

Log in to reply