Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PySide2 raspberry Pi bullseye
Forum Updated to NodeBB v4.3 + New Features

PySide2 raspberry Pi bullseye

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 828 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.
  • E Offline
    E Offline
    erc164
    wrote on 15 Jun 2022, 14:55 last edited by erc164
    #1

    https://forum.qt.io/topic/112813/installing-pyside2-on-raspberry-pi

    The method in this solved topic no longer appears to work. pyside2uic is not an available apt package on bullseye. I found a recommended work around of trying to use pyside2-tools. This is also exclusive to buster though as you can see in buster it has pyside2-rcc and uic but for bullseye it only has lupdate. I am trying to use these to build ui files and qrc files. Does anyone know if there is a way to complete the install of pyside2 and get the uic and rcc tools on raspbian bullseye?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      erc164
      wrote on 6 Jul 2022, 11:14 last edited by
      #2

      For any who may find this in the future, the solution was to compile those specific files on another machine and then move them to the pi. Since pyside2uic contains the rcc and qrc tools all that does is compile the .ui and .rc files. Those can pretty easily be moved. It is not an ideal fix, but it is a fix.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Prashkd85
        wrote on 17 Sept 2022, 13:13 last edited by
        #3

        Hi,

        Do you have a guide for building PySide2 for Raspbian BullsEye ?

        Thanks,

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gandalfus
          wrote on 22 Nov 2022, 08:36 last edited by
          #4

          Hi, In debian bullseye to generete .py files from .ui you can use uic command.

          uic -g python -o somegui.py somegui.ui
          
          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