Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt 5 from Git to get PySide2 (QtQuick 2.15) for Nvidia Jetson Arm64
Forum Updated to NodeBB v4.3 + New Features

Building Qt 5 from Git to get PySide2 (QtQuick 2.15) for Nvidia Jetson Arm64

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 868 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
    MinhTamBosch
    wrote on last edited by
    #1

    Hello

    I have some problem when trying to get PySide2 (Qt.Quick 2.15) working on arm64 architecture Nvidia Jetson. I am familiar with apt-get or pip install. But since the Jetson arm64 repo only provide PyQt 5.12.8 and QtQuick 2.12 I struggle with linux build to install PyQt5.15.2 for hours but now I'm stuck at very last step.

    Since I install the Qt 5.15.x to get the QtQuick 2.15 for PySide2 the embedded system Nvidia Jetson i follow this instruction:
    https://forums.developer.nvidia.com/t/pyside2-qt-for-python-installation-on-jetson-xavier/160796/5

    Everything seem good. I follow the instruction build Qt from Git success then i have Qt-5.15.2 in /usr/local.

    qmake --version
    QMake version 3.1
    Using Qt version 5.15.2 in /usr/local/Qt-5.15.2/lib
    

    Screenshot from 2022-10-12 09-47-31.png

    Then I install PySide2 using

    sudo python setup.py install --qmake=/usr/local/Qt-5.15.2/bin/qmake
    

    It took 3 hours and the terminal output "successful" but when i run the PySide2 application still missing QtQuick 2.15 Screenshot from 2022-10-12 09-54-32.png

    I think it relate to environment but I am not clear. It took me hours to figure out but only few minute with experts like you. Please give me some instruction. Thank you
    Screenshot from 2022-10-12 09-59-29.png

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MinhTamBosch
      wrote on last edited by
      #2

      Add Qt-5.15.2 bin and lib into bashrc

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

        Hi and welcome to devnet,

        Glad you could build it but your solution sounds wrong.

        Adding these changes to your bashrc means that everything you start from the command line will be influenced by them.

        A more long term approach (and usually recommended when using python) would be to create a virtual environment for your project so you can have everything stored in one place.

        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
        1

        • Login

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