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/AM4378: Error while deploying QT application(Map viewer) in sitara linux

Part Number: AM4378

Tool/software: Linux

Dear,

My board is based on am4378 with sitara linux. I compiled a QT based application called "map viewer"  which resides in example program(location/mapviewer).

It compiled properly in my Linux host(Ubuntu 14.04). But when i deploy to target(am4378 board) and execute the application, it gives following error.

root@am437x-evm:/usr/bin# ./qml_location_mapviewer
./qml_location_mapviewer
QML debugging is enabled. Only use this in a safe environment.
PVR: Hint: Setting WindowSystem to libpvrDRMWSEGL_FRONT.so

mode for connector 25 is 640x480
mode for CRTC of connector 25 is 640x480
DRM SET CRTC: index: 0 fd: 6, crtc: 1b, fb: 21, conn: 19, mode: 640x480
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).
No such plugin for spec "Auto"
QQmlApplicationEngine failed to load component
qrc:///mapviewer.qml:43 module "QtLocation" version 5.6 is not installed

ASSERT: "!isEmpty()" in file ../../../../ti-processor-sdk-linux-am437x-evm-02.00.00.00/linux-devkit/sysroots/cortexa9hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore/qlist.h, line 316
Aborted

How do i solve this issue?

Regards,

Winiston.P

  • Hello Winiston,

    Please, check whether you have the qtquickcontrols-qmlplugins installed on your target.

    root@am437x-evm:~# opkg list-installed | grep qtquick
    qtquickcontrols-qmlplugins - 5.5.0+git0+32ac38930c-r0


    To run this example, you will also need to use the qt base with accessibility enabled and update the qtdeclarative package. For more details, please see this post.


    Best regards,
    Kemal