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. QWebEngine with Raspberry pi 5 (using PySide6)
Forum Updated to NodeBB v4.3 + New Features

QWebEngine with Raspberry pi 5 (using PySide6)

Scheduled Pinned Locked Moved Unsolved QtWebEngine
5 Posts 2 Posters 70 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MiseDev
    wrote last edited by
    #1

    Hi,

    Upon installing PySide6 and using QWebEngineView, it gives me an error on libwebp6 not found. Libwebp7 exists, so I symlinked it to that, so problem solved.
    The next error was libtiff not being found. So once again, I symlinked it with a higher version that was already installed. Now, I get an error saying:

    Failed to load vulkan: Cannot load library vulkan: vulkan: cannot open shared object file: No such file or directory
    initInstance: No Vulkan library available
    Failed to create platform Vulkan instance
    Unable to detect GPU vendor.

    I installed vulkan, didn't work. Changed my QT_QPA_PLATFORM to xcb:
    Unknown Vendor ID: "0x14e4"
    Unable to detect GPU Vendor

    I don't know what to do, please help!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      You should add which Linux distribution you are running on your device. Also, how did you install PySide6 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You should add which Linux distribution you are running on your device. Also, how did you install PySide6 ?

        M Offline
        M Offline
        MiseDev
        wrote last edited by
        #3

        @SGaist said in QWebEngine with Raspberry pi 5 (using PySide6):

        Linux distribution

        Hi, I'm using a Raspberry Pi, with Debian linux distribution. I installed PySide6 using pip install PySide6 inside a virtual environment.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MiseDev
          wrote last edited by
          #4

          Update: I was able to get rid of all the errors by downloading the required packages that it required.

          Using wget http://deb.debian.org/debian/pool/main/libw/libwebp/libwebp6_0.6.1-2.1+deb11u2_arm64.deb
          sudo dpkg -i libwebp6_0.6.1-2.1+deb11u2_arm64.deb
          sudo apt --fix-broken install
          ldconfig -p | grep libwebp

          wget http://security.debian.org/debian-security/pool/updates/main/t/tiff/libtiff5_4.2.0-1+deb11u6_arm64.deb
          (Same process with this package ^)

          For the no vulkan found error, I had to turn off VNC and swapped to X11 in sudo raspi-config Advanced Options -> Waylands -> X11

          But now I'm faced with these errors:
          [3565:3565:0719/133003.647609:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
          [3565:3565:0719/133003.647633:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)

          I'm not sure what to do! I feel as if I'm really close...

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #5

            From a quick search about these error message, it seems to be a chromium on Debian issue.
            Can you try to start your RPi on an Ubuntu image ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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