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. Trying to run Qt5.15.2 app on raspberry pi
QtWS25 Last Chance

Trying to run Qt5.15.2 app on raspberry pi

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qml c++raspberry pi 4qt quick
2 Posts 1 Posters 388 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.
  • QjayQ Offline
    QjayQ Offline
    Qjay
    wrote on last edited by
    #1

    Hello I am trying to run my qt app on rpi 4. the app works fine on windows now I want to run it on my pi.
    error I am getting

    QQmlApplicationEngine failed to load component
    qrc:/main.qml:58:9: Type HomePage unavailable
    qrc:/Pages/HomePage.qml:32:9: Type DigitalGauge unavailable
    qrc:/Component/DigitalGauge.qml:6:1: module "QtQuick.Extras.Private" is not installed
    qrc:/Component/DigitalGauge.qml:4:1: module "QtQuick.Extras" is not installed
    qrc:/Component/DigitalGauge.qml:3:1: module "QtQuick.Controls.Styles" is not installed
    qrc:/Component/DigitalGauge.qml:6:1: module "QtQuick.Extras.Private" is not installed
    qrc:/Component/DigitalGauge.qml:4:1: module "QtQuick.Extras" is not installed
    qrc:/Component/DigitalGauge.qml:3:1: module "QtQuick.Controls.Styles" is not installed
    qrc:/Component/DigitalGauge.qml:6:1: module "QtQuick.Extras.Private" is not installed
    qrc:/Component/DigitalGauge.qml:4:1: module "QtQuick.Extras" is not installed
    qrc:/Component/DigitalGauge.qml:3:1: module "QtQuick.Controls.Styles" is not installed
    
    

    my rpi info

           _,met$$$$$gg.          pibot@raspberrypi 
        ,g$$$$$$$$$$$$$$$P.       ----------------- 
      ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) aarch64 
     ,$$P'              `$$$.     Host: Raspberry Pi 4 Model B Rev 1.5 
    ',$$P       ,ggs.     `$$b:   Kernel: 6.1.21-v8+ 
    `d$$'     ,$P"'   .    $$$    Uptime: 1 hour, 47 mins 
     $$P      d$'     ,    $$P    Packages: 2039 (dpkg) 
     $$:      $$.   -    ,d$$'    Shell: bash 5.1.4 
     $$;      Y$b._   _,d$P'      Resolution: 1920x1080 
     Y$$.    `.`"Y$$$$P"'
     `$$b      "-.__              WM: KWin 
      `Y$$                        Theme: PiXflat [GTK3] 
       `Y$$.                      Icons: PiXflat [GTK3] 
         `$$b.                    Terminal: /dev/pts/0 
           `Y$$b.                 CPU: BCM2835 (4) @ 1.800GHz 
              `"Y$b._             Memory: 281MiB / 3794MiB 
    
    

    qmake version is

    QMake version 3.1
    Using Qt version 5.15.2 in /usr/lib/aarch64-linux-gnu
    

    I have already tried and installed following packages

    sudo apt install qml-module-qtlocation qml-module-qtpositioning
    sudo apt install qtlocation5-dev qtpositioning5-dev
    sudo apt install libqt5location5 libqt5positioning5 qtpositioning5-dev qtlocation5-dev
    

    thanks

    1 Reply Last reply
    0
    • QjayQ Offline
      QjayQ Offline
      Qjay
      wrote on last edited by Qjay
      #2

      hey solved using installing following qml packages too

      sudo apt install qml-module-qtquick-extras qml-module-qtquick-controls
      
      1 Reply Last reply
      2
      • SGaistS SGaist has marked this topic as solved on

      • Login

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