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 from source on Nvidia Jetson Tx2

Building qt from source on Nvidia Jetson Tx2

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 649 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.
  • D Offline
    D Offline
    Dookei
    wrote on last edited by
    #1

    Hi there,
    I am trying to build from source qt 5.15 on a Nvidia jetson Tx2(armv8)
    The make works just fine. But when I try the make install I get the error saying that the library libqtopenwnn.a is missing from the build directory(please see below).
    Any thoughts on what I might be missing ?

    +: error: /home/jetson/local_builds/qt_build/build/qtvirtualkeyboard/lib/libqtopenwnn.a: No such file or directory
    make[5]: *** [Makefile:81: ../../../../plugins/virtualkeyboard/libqtvirtualkeyboard_openwnn.so] Error 1
    make[5]: Leaving directory '/home/jetson/local_builds/qt_build/build/qtvirtualkeyboard/src/plugins/openwnn/plugin'
    make[4]: *** [Makefile:85: sub-plugin-install_subtargets] Error 2
    make[4]: Leaving directory '/home/jetson/local_builds/qt_build/build/qtvirtualkeyboard/src/plugins/openwnn'
    make[3]: *** [Makefile:88: sub-openwnn-install_subtargets] Error 2
    make[3]: Leaving directory '/home/jetson/local_builds/qt_build/build/qtvirtualkeyboard/src/plugins'
    make[2]: *** [Makefile:189: sub-plugins-install_subtargets] Error 2
    make[2]: Leaving directory '/home/jetson/local_builds/qt_build/build/qtvirtualkeyboard/src'
    make[1]: *** [Makefile:61: sub-src-install_subtargets] Error 2
    make[1]: Leaving directory '/home/jetson/local_builds/qt_build/build/qtvirtualkeyboard'
    make: *** [Makefile:793: module-qtvirtualkeyboard-install_subtargets] Error 2
    

    This are my build steps:

    git clone https://code.qt.io/qt/qt5.git
    cd qt5
    git checkout origin/5.15.2
    
    perl init-repository --module-subset=default,-qtwebkit,-qtwebkit-examples,-qtwebengine,-qtsensors,-qtpurchasing,-qtcharts,-qtdatavis3d,-qtgamepad,-qtspeech,-qtlocation
    
    cd ..
    mkdir build
    cd build
    ../qt5/configure -prefix /opt/Qt5.15.2 -opensource -confirm-license -optimized-qmake -developer-build -nomake examples -nomake tests
    
    make -j4
    make install
    
    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      Please double check that your make -j4 call actually succeeds (that is , returns 0). You most likely have a compile error hidden in the log ...

      Director R&D, The Qt Company

      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