Hi,
Please take a look at the relevant posts:
Jetson Nano and Qt5 - #2 by WayneWWW
Pyqt not working on Nano - #4 by coolbot
Not sure but these might help.
And we have tried this app in qt environment:
# Download a sample and build
https://github.com/alpqr/quickmwtest
#If you don't configure the installation path, you need to create a link.
sudo ln -sf /usr/local/Qt-5.9.2/bin/qmake /usr/lib/aarch64-linux-gnu/qt5/bin/qmake
# Use "qmake" under sample folder and then "make"
# If you hit qmake error → export QT_SELECT=qt5
#Before running the sample
$ sudo systemctl stop gdm
$ sudo loginctl terminate-seat seat0
unset DISPLAY
export QT_QPA_PLATFORM=eglfs
export QT_QPA_EGLFS_INTEGRATION=eglfs_kms_egldevice
./quickmwtest
May check if you can build/run the sample.