Configuration Jetson Nano for QT

Hello!
I’am trying to start QT 5.15 application in my Jetson Nano 4Gb and i got huge latency. Time between switching screans may be 10 seconds or more.

And I doubt about my device configuraion.

My device file:

# qmake configuration for the Jetson Nano 4GB


include(../common/linux_device_pre.conf)

QMAKE_INCDIR_POST += \
    $$[QT_SYSROOT]/usr/include \
    $$[QT_SYSROOT]/usr/include/aarch64-linux-gnu

QMAKE_LIBDIR_POST += \
    $$[QT_SYSROOT]/usr/lib \
    $$[QT_SYSROOT]/lib/aarch64-linux-gnu \
    $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu

QMAKE_RPATHLINKDIR_POST += \
    $$[QT_SYSROOT]/usr/lib \
    $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu \
    $$[QT_SYSROOT]/lib/aarch64-linux-gnu
    
QMAKE_INCDIR-EGL = $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu/tegra-egl

DISTRO_OPTS                  += aarch64
COMPILER_FLAGS               += -march=armv8-a+crypto+crc

EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice

include(../common/linux_arm_device_post.conf)
load(qt_config)

my QT options when building from binaries:

../qt-everywhere-src-5.15.2/configure -opengl es2 -device linux-jetson-nano -device-option CROSS_COMPILE=/opt/qt5jnano/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -sysroot /opt/qt5jnano/sysroot -prefix /usr/local/qt5jnano -opensource -confirm-license -skip qtscript -skip wayland -skip qtwebengine –skip qtlocation -force-debug-info -skip qtdatavis3d -nomake examples -make libs -pkg-config -no-use-gold-linker -v

And my qt configuration result:
Configuration (11.6 KB)

As I understand QT can use different mechanisms to render graphic: X11, EGLFS, native graphic driver or etc.
But I dont know what mechanisms supports by my Jetson and how to fix my latency problem.

Could anybody help me with this?

Hi,
Please refer to the topics about running QT on Jetson platforms:
PySide2 (Qt for python) installation on Jetson Xavier - #5 by Muscle_Oliver
Jetson Nano and Qt5 - #2 by WayneWWW
Pyqt not working on Nano - #4 by coolbot

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.