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. QWebView gets shown black via VNC

QWebView gets shown black via VNC

Scheduled Pinned Locked Moved Solved QtWebEngine
2 Posts 1 Posters 640 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.
  • MrBoltonM Offline
    MrBoltonM Offline
    MrBolton
    wrote on last edited by aha_1980
    #1

    Hi all,

    we've got a CentOS 7 machine here, running an application that shows a QWebView (Qt 5.9.6). The application runs just fine when we start it locally (with a monitor attached to the machine) or via slogin -X.
    However when we connect via VNC the QWebView is black. I know that the content is properly loaded since I see corresponding log entries, it's just that we don't get to see the content. There are no errors whatsoever on stderr. Unfortunately there is no vnc log file. We are using TigerVNC which does not produce log files when started via inetd.

    Did any one of you ever have that problem? Any help is appreciated.

    Thanks
    Tobi

    1 Reply Last reply
    0
    • MrBoltonM Offline
      MrBoltonM Offline
      MrBolton
      wrote on last edited by
      #2

      We solved it.

      In the inet.d configuration the argument "depth 16" has been passed to xvnc. QWebView only seems to work when you pass in a depth of 32.

      1 Reply Last reply
      3

      • Login

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