Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. cannot loaded module Qt Quick Controls 2.0 - crosscompile RPI 3+

cannot loaded module Qt Quick Controls 2.0 - crosscompile RPI 3+

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
rpiquick2controls 2
1 Posts 1 Posters 869 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tomek2864
    wrote on last edited by tomek2864
    #1

    Hello,
    I have problem with SmartHome project from http://blog.qt.io/blog/2016/06/06/more-of-qt-quick-designer-and-qt-quick-controls-2/smarthome.

    The project use Qt Quick Controls 2.0 module. I dont have any error compilation but when I started the program on RPI 3+, the application output shows:

    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).
    QQmlApplicationEngine failed to load component
    qrc:/main.qml:3 plugin cannot be loaded for module "QtQuick.Controls": Cannot install element 'MnemonicLabel' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'CheckLabel' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'IconLabel' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install singleton type 'Color' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'IconImage' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'ColorImage' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'PlaceholderText' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'ItemGroup' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'ClippedText' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install singleton type 'Default' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'TumblerView' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'ProgressBarImpl' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'PaddedRectangle' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'DialImpl' into unregistered namespace 'QtQuick.Controls.impl'
    :-1 Cannot install element 'BusyIndicatorImpl' into unregistered namespace 'QtQuick.Controls.impl'
    

    I use Ubuntu 16.04 64bit,
    RPI 3+ Stretch
    Qt Creator 5.10.1

    On RPI these packages installed,
    qtdeclarative5-*
    qml-module-qtquick*
    qtquick1-*
    qtquickcontrols5-*
    qml-module-qtquick2

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved