Congratulations to our 2022 Qt Champions!

QtWebEngine and Kit Configuration in Windows

  • Hi,

    I am developing a Qt Quick application and I am using a PC with Windows 10-64bits with Visual Studio 2019 installed.

    When trying to add the QtWebEngine 1.7 elements to my app, I get the next error in QtCreator when running:

    14:07:21: Starting C:\Datos\QT\cp4\build-cp4gui-Desktop_x86_windows_msvc2019_pe_64bit-Debug\debug\cp4gui.exe ...
    QML debugging is enabled. Only use this in a safe environment.
    WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
    [3196:2972:0127/] Lost UI shared context.
    [3196:2972:0127/] Lost UI shared context.
    [3196:232:0127/] !GpuDataManagerImpl::GpuAccessAllowed()
    [3196:232:0127/] !GpuDataManagerImpl::GpuAccessAllowed()

    This is what I am using of QtWebEngine:

    import QtQuick 2.7
    import QtQuick.Controls 2.0
    import QtGraphicalEffects 1.0
    import QtWebEngine 1.7
    Page {
        id: page2
        width: 800
        height: 480
        title: qsTr("")
            url: ""
            //preferredWidth: 490
            //preferredHeight: 400
            scale: 0.5
            smooth: false

    This is the configuration of the kit I am using. I am shure the problem I have is related with the kit configuration....but I don't know where the problem could be exactly
    project kit.JPG

    And here, all the kits detected.


    Kind Regards,


Log in to reply