Error while running a Qt application on tagret device (Apalis imx6)

Hallo,

I am running a Qt application on apalis imx6 device from host machine (putty). The following error occured after running the application.

root@apalis-imx6:~# /opt/tab/bin/tab -platform eglfs
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
 If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
**/opt/tab/bin/tab: relocation error: /usr/lib/qt5/qml/QtQuick/Dialogs/libdialogplugin.so: symbol _ZN21QMessageDialogOptionsC1Ev, version Qt_5 not defined in file libQt5Gui.so.5 with link time reference**

What would be the mistake ?

Thank you

Hi

Qt5 or any other user space stuff is not exactly the domain we are familiar with.

It looks like you mixed up libraries which were compiled from different versions or against different configurations or you compiled your binaries against an SDK of a different version than what you have actually installed on the target module or you may have installed qt5 libraries on the target with mismatched versions.

The error message from the dynamic linker on the target says that:
/usr/lib/qt5/qml/QtQuick/Dialogs/libdialogplugin.so needs the symbol _ZN21QMessageDialogOptionsC1Ev@(@)Qt_5 but the library libQt5Gui.so.5 does not provide it, at least not with the ‘Qt_5’ version.

Max