Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtQuick.Controls installed but can not be used (on Raspberry Pi 4)
Forum Updated to NodeBB v4.3 + New Features

QtQuick.Controls installed but can not be used (on Raspberry Pi 4)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 671 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
    thealse
    wrote on last edited by
    #1

    I am running Qt nativly on a Raspberry Pi 4 model B and everything seems to be working just fine.

    I have installed all I needed like this:

    sudo apt install qtcreator qt5-default qt5-qmake qtdeclarative5-dev qtquickcontrols2-5-dev
    

    That is pretty much what I needed, nothing fancy really.
    Now I try to explain the error I get.

    In my pro file I have added:

    QT += quick
    QT += quickcontrols2
    

    and then in the qml file:

    import QtQuick 2.11
    import QtQuick.Window 2.11
    import QtQuick.Controls 2.5
    

    But it does not want to run, I am getting the following error:

    qrc:/main.qml:3 module "QtQuick.Controls" version 2.5 is not installed
    

    I wanted to use the ProgressBar in the Controls.
    Any idea why I can not run the program?

    Thanks

    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