Nominate our 2022 Qt Champions!

Install QtQuick.Layouts Embedded

  • Hello,

    I need to install QtQuick.Layout because it is used on application I'm trying to run:

    pi@raspberrypi:~/piomxtextures_pocplayer2/piomxtextures_pocplayer $ ./piomxtextures_pocplayer
    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).
    qrc:///qml/main.qml:72:2: Type POC_Legend unavailable
    qrc:///qml/POC_Legend.qml:26:1: Type POC_AnimatedOverlay unavailable
    qrc:///qml/POC_AnimatedOverlay.qml:25:1: module "QtQuick.Layouts" is not installed

    I have QtDeclarative version 5.6 but it doesn't find QtQuick.Layouts. What do I need to install?

  • Hi,
    I hope, you have find a solution by the time, but for information and maybe help other users, you need to install QtQuick.Controls 1.0 in order to use QtQuick.Layouts.

Log in to reply