enabled Web3Gl



  • hello,
    I have to use a graphics library in my project with QML / QWebEngine.
    I set and tested the WebGL enablement.
    Usage VS2017 / Windows is QT 5.11
    I have performed the following steps
    In the QML file

    import QtWebEngine 1.6
            WebEngineView {
                id: viewEnginePgm
                settings.webGLEnabled: true
    

    At the opening of the application

    QCoreApplication :: setAttribute (Qt :: AA_UseDesktopOpenGL);
    QCoreApplication :: setAttribute (Qt :: AA_UseSoftwareOpenGL);
    

    In the .pro file

    LIBS + = opengl32.lib
    

    The result is always the same.
    Does anyone have an idea to solve it?
    Thanks

    0_1559821677916_testwebgl.PNG


Log in to reply