Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QWebEngineView has error webgl pages on mac pro

QWebEngineView has error webgl pages on mac pro

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 1.2k 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.
  • Y Offline
    Y Offline
    Yoshimura
    wrote on last edited by
    #1

    Hello,
    I have some error initialize webgl pages on mac pro.
    but I have no error on windows, mac book air 2012.
    So, there is the problem only mac pro.
    maybe opengl context create failed internal.

    I'm using QWebEngineView. here is simple example.

        QUrl url = QUrl("https://paperplanes.world/");
        _webview = new QWebEngineView();
    
        auto page = _webview->page();
        page->settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, true);
        page->settings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);
        page->settings()->setAttribute(QWebEngineSettings::Accelerated2dCanvasEnabled, true);
        page->settings()->setAttribute(QWebEngineSettings::WebGLEnabled, true);
    
        _webview->showNormal();
        _webview->load(url);
    

    and I have Application output here.

    [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context.
    [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context.
    [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context.
    [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context.
    [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context.
    [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context.
    AVDCreateGPUAccelerator: Error loading GPU renderer
    
    

    and,
    alt text

    Is there any option in QWebEngineView ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Andrii Anpilogov
      wrote on last edited by
      #2

      Hi @Yoshimura
      Have you found the solution to this issue?

      Regards

      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