Project ERROR: Unknown module(s) in QT: multimedia

后端 未结 1 430
别跟我提以往
别跟我提以往 2021-02-12 15:07

I am trying to compile qGo, after installing qt5

git clone https://github.com/pzorin/qgo.git
cd qgo
qmake
make
sudo make install

R

相关标签:
1条回答
  • 2021-02-12 15:39

    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
    

    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
    

    UPDATE 2 For me the solution was the following:

    1. Download sources from http://download.qt.io/development_releases/qt/5.4/5.4.0-rc/submodules/

    2. Build them, add the library manually.

    0 讨论(0)
提交回复
热议问题