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-rcc missing on Jetson Nano
Forum Updated to NodeBB v4.3 + New Features

pyside2-rcc missing on Jetson Nano

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 327 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
    rpiguru
    wrote on last edited by rpiguru
    #1

    I have compiled pyside2 5.9 on Jetson Nano by following script:

    sudo apt install -y libclang-dev qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev \
                        libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev \
                        libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-dev \
                        qtdeclarative5-private-dev qtbase5-private-dev qttools5-private-dev qtwebengine5-private-dev libclang-9-dev
    
    cd ~
    git clone git://code.qt.io/pyside/pyside-setup.git
    cd pyside-setup
    # check the verision of the qt5-default with "qmake --version", it should be 5.9.5
    qmake --version
    # get the right pyside QT version
    git checkout 5.9
    sed -i -- "s/\${QtGui_GEN_DIR}\/qopengltimemonitor_wrapper.cpp/#\${QtGui_GEN_DIR}\/qopengltimemonitor_wrapper.cpp/g" ~/pyside-setup/sources/pyside2/PySide2/QtGui/CMakeLists.txt
    sed -i -- "s/\${QtGui_GEN_DIR}\/qopengltimerquery_wrapper.cpp/#\${QtGui_GEN_DIR}\/qopengltimerquery_wrapper.cpp/g" ~/pyside-setup/sources/pyside2/PySide2/QtGui/CMakeLists.txt
    export LLVM_INSTALL_DIR=/usr/lib/llvm-9/
    
    python3 setup.py build
    sudo python3 setup.py install
    

    System information:

    nvidia@nvidia-desktop:~$ uname -a
    Linux nvidia-desktop 4.9.253-tegra #1 SMP PREEMPT Sat Feb 19 08:59:22 PST 2022 aarch64 aarch64 aarch64 GNU/Linux
    nvidia@nvidia-desktop:~$ python3
    Python 3.6.9 (default, Jun 29 2022, 11:45:57)
    [GCC 8.4.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
    
    

    The problem is, that the pyside2-rcc is missing but pyside2-uic is working.

    Any ideas why this happens?

    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