Qt5 platform plugin?

Hi folks~

I got the following. when I run OpenCv based face recognition python app.
What should I do to attck that?

Regards
Todd.


root@apalis-imx8:~/face/demo# python3 ./face_recognition.py
[INFO] starting video stream…
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
qt.qpa[. pl7u9gi8n7:. 6C7o9u1l2d3 ] noatu dfiitn:d ttyhpee =Q1t7 0p1l aatufdoirtm( 1p6l0u0g6i0n6 62"w0a.y9l9a2n:d3-)e:g la"ui idn= 4"2/9u4s96r7/l2i91

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted

When I turn on “QT_DEBUG_PLUGINS=1” and then


qt.qpa.plugin: Could not find the Qt platform plugin “wayland-egl” in “/usr/lib/python3.8/site-packages/cv2/qt/plugins”

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


Anybody can catch up what I am missing now?

The tdx-reference-multimedia-image (BTW which version you are using?) has a minimal set of QT components just for demo purpose. For you particular case you should select QT components and other OS components you need and build your custom image as described here.

Or you can try Qt for Device Creation image provided by QT.