Project ERROR: Unknown module(s) in QT: qml-private
-
Hello
The environment of mine is:
- Device: raspberry 3b +
- OS:2017-11-29-raspbian-stretch
- Qt version: 5.7.1. installed by
sudo apt-get install qt5-default
,sudo apt-get install qtcreator
andsudo apt-get install qt-sdk
.
There is something wrong when I build
QtInstallerFramework
, because I find it just supported for windows, mac, linux(x86) .Project ERROR: Unknown module(s) in QT: core-private qml-private
I am wondering is there any other way to build it? what should I do?
Thank you!
-
Hi and welcome to devnet,
Did you also install
qtdeclarative5-dev
? -
Hey, wyou can build the source by Qt sources on website, do not rely much on
apt
. -
@jiancaiyang 哇,大神,是这样的,我基于树莓派做的软件想要使用qt的升级框架,去下载的时候发现官方预先编译的linux版的只有桌面的,没有arm版的,下载源码编译的时候就报这个错,找不到qml-private,和core-private
-
You could compile Qt yourself, using Yocto or other, try
download.qt.io
. the source of software maintained by apt are usually out-of-date.
A
You can read instructions by colleagues who has successfully compiled Qt for strawberry-PI. -
@jiancaiyang I've native built Qt on Pi, hope it will work, thank you so much.
-
I had the same issue on KUbuntu 18.04, and solved it by installing the
qtdeclarative5-private-dev
package.