How can I use qt with npu

@Kevin-Nguyen will it not run without those plugins ?
I don’t have any deep experience with QT, but just a guess that maybe if you have KDE desktop it will have all necessary QT related plugins and modules ready

Please use the latest image:

http://build.khadas.com:8080/khadas/fenix/images/VIM3_Ubuntu-gnome-focal_Linux-4.9_arm64_EMMC_V1.0.5-210430.img.xz

And install the QT like this:

$ sudo apt-get -y install qt5-default qttools5-dev-tools qtcreator

Things are not so simple.

I use the latest image VIM3_Ubuntu-gnome-focal_Linux-4.9_arm64_EMMC_V1.0.5-210430.raw.img.xz

Case 1: Install Qt5 from VIM3

$ sudo apt-get update
$ sudo apt-get -y remove linux-gpu-mali-fbdev
$ sudo apt-get -y install --reinstall libegl1-mesa libegl1 libgles2 libgles2-mesa libegl1-mesa-dev libgles2-mesa-dev libglvnd-dev libgles1 libwayland-dev mesa-common-dev
$ sudo apt-get -y install qt5-default qttools5-dev-tools qtcreator
$ sync

Result: Error load plugins

Case 2: Setup cross-compile environment from host PC

Result 1: When I build an application basic with GUI same as buttons, label, text… then the app working.

Result 2: Build an app with wiringpi (use LIBS += -L$$[QT_SYSROOT]/usr/lib -lwiringPi -lpthread -lrt -lm -lcrypt).

Build success, but the app can not run.

khadas@Khadas:~/Desktop/controllerboards$ ./controllerboards
QML debugging is enabled. Only use this in a safe environment.
libEGL warning: DRI2: failed to authenticate
Segmentation fault

Now, I can not do anything with the VIM3 board, it not ready for production.

Please check : https://docs.khadas.com/vim3/QT5Usage.html

QT with eglfs mali gpu support can only works under framebuffer mode.