Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtWebEngine and Kit Configuration in Windows
Qt 6.11 is out! See what's new in the release blog

QtWebEngine and Kit Configuration in Windows

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 358 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rscr
    wrote on last edited by
    #1

    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/140735.249:WARNING:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
    [3196:2972:0127/140735.249:WARNING:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
    [3196:232:0127/140735.590:WARNING:gpu_process_host.cc(376)] !GpuDataManagerImpl::GpuAccessAllowed()
    [3196:232:0127/140735.590:WARNING:gpu_process_host.cc(376)] !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("")
    
        WebEngineView{
            url: "http://www.nokia.com"
            //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.

    kists.JPG

    Kind Regards,

    Rafa

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved