QtQuick.Controls installed but can not be used (on Raspberry Pi 4)
-
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-devThat 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 += quickcontrols2and then in the qml file:
import QtQuick 2.11 import QtQuick.Window 2.11 import QtQuick.Controls 2.5But it does not want to run, I am getting the following error:
qrc:/main.qml:3 module "QtQuick.Controls" version 2.5 is not installedI wanted to use the ProgressBar in the Controls.
Any idea why I can not run the program?Thanks