项目错误:QT中的未知模块:多媒体 [英] Project ERROR: Unknown module(s) in QT: multimedia
问题描述
在安装qt5
git clone https://github.com/pzorin/qgo.git
cd qgo
qmake
make
sudo make install
现在最新的错误是说它找不到多媒体
Right now the latest error is saying it can't find multimedia
# make
cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/jdm/Downloads/qgo/src/src.pro -o Makefile ) && make -f Makefile
Project ERROR: Unknown module(s) in QT: multimedia
make: *** [sub-src-make_first] Error 3
我根据这个问题猜出了库libqt5multimedia5
,但是它说它已经在那儿的计算机上了,错误仍然存在.
I guessed the library libqt5multimedia5
based on this question, but the computer it says its already there and the error persists.
libqt5multimedia5 is already the newest version.
还有另一个类似的问题,但用户回答了他自己的问题.我不确定它在这里如何应用:
There is another similar question but the user answered his own question. I am not sure how it applies here:
推荐答案
我无法发表评论,因此我将其写为答案.您的问题已在此处解决: https://forum.qt.io/topic/27608/unknown-module -multimedia/6
I'm not able to post a comment, so I will write it as an answer. Your problem has been solved here: https://forum.qt.io/topic/27608/unknown-module-multimedia/6
为了处理该问题,您应该尝试安装不存在的软件包:
In order to handle the issue you should try installing packages that are absent:
sudo apt-get install qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5
,然后重新启动Qt Creator. 干杯.
and restart your Qt Creator after that. Cheers.
更新.如果它不起作用,请尝试其他解决方案:
UPDATE. If it will not work, try another solution:
sudo apt-get update
sudo apt-get build-dep qtmultimedia5-dev
sudo apt-get source --compile qtmultimedia5-dev
更新2 对我来说,解决方法如下:
UPDATE 2 For me the solution was the following:
构建它们,手动添加库.
Build them, add the library manually.
这篇关于项目错误:QT中的未知模块:多媒体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!