This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux的/ TMS320DM8168: Qt5 App running on DM8168/AM389x Arm , an error occur

Part Number: TMS320DM8168

Tool/software: Linux的

when running Qt5 Example "qt5-cinematic-experience" , an error occurs :

QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "/usr/local/qt5/plugins".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
Aborted

env :

#export QTDIR=/usr/local/qt5
# export QT_QPA_FONTDIR=$QTDIR/lib/fonts
# export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR/plugins
# export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
# export PATH=$QTDIR/bin:$PATH
# export PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig/$PKG_CONFIG_PATH
  • Hi Alex,

    From where you get this Qt5 Example "qt5-cinematic-experience"? Do you use DM816x EZSDK? Can you try the default Qt examples that comes with EZSDK?

    Regards,
    Pavel
  • first ,i cross compiled the Qt5 source,
    then , with the qmake , I build the example.
  • set "export QT_DEBUG_PLUGINS=1";
    then the print is :

    QFactoryLoader::QFactoryLoader() checking directory path "/opt/autorun/platforms" ...
    Cannot load library /usr/local/qt5/plugins/platforms/libqeglfs.so: (libXext.so.6: cannot open shared object file: No such file or directory)
    QLibraryPrivate::loadPlugin failed on "/usr/local/qt5/plugins/platforms/libqeglfs.so" : "Cannot load library /usr/local/qt5/plugins/platforms/libqeglfs.so: (libXext.so.6: cannot open shared object file: No such file or directory)"
    This application failed to start because it could not find or load the Qt platform plugin "eglfs"
    in "/usr/local/qt5/plugins".

    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

    Reinstalling the application may fix this problem.
    Aborted


    so, i think i need to install the X11...

    is it ?
  • Alex,

    For custom application support, you can contact our partners as explained in the below e2e post:

    e2e.ti.com/.../426680

    You might also check this issue with the Qt support community at forum.qt.io

    Regards,
    Pavel