P
P
PythonBeginner202019-03-22 20:55:55
Qt
PythonBeginner20, 2019-03-22 20:55:55

How to run QT application on raspberry pi3?

Hello, tell me how to fix the error Project ERROR: Unknown module(s) in QT: quick. Installed QtCreator on raspberry pi3, configured cross-compilation on the main laptop. I made a test helloWorld without screens - everything worked.
Tried to run GUI application - an error occurred. The above error is thrown at the qmake step. Installed qtquickcontrols2-5-dev, qtscript5-dev, qtscript-tools via apt install - nothing helped.
Compiled on the main laptop - no errors. I'm trying to run on Raspberry pi3 - it gives errors:


JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
QQmlApplicationEngine failed to load component
qrc:/main.qml:-1 File not found

import QtQuick 2.9
import QtQuick.Controls 2.4
import QtQuick.Window 2.12

As I understand it, the error is in the absence of the QtQuick module. How to install it on raspberry?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ighor July, 2019-03-22
@PythonBeginner20

There is an old version of Qt, you need to compile Qt from source for raspberry pi with all modules

P
Papayaved, 2019-04-25
@Papayaved

Only 32-bit operating systems work on Raspi, everything that is 64-bit actually does not work. The Raspi version of Qt is quite old, as is the 32-bit x86 version, even the one installed from the Qt site.
Perhaps it makes sense to try Orange PI with 2-4 GByte of memory, maybe Qt for ARM64 is more functional

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question