Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOVLED] Qt pulgins are not found when compiling examples

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
aario
Posts: 23
Joined: 2019-04-18 06:26

[SOVLED] Qt pulgins are not found when compiling examples

#1 Post by aario »

I cannot compile any Qt5 example that uses a plugin. This is the error I get:

Code: Select all

Project ERROR: Unknown module(s) in QT: multimedia multimediawidgets
All I could find on internet was regarding installing necessary packages. But I have already done that.

For example, I cloned:

Code: Select all

git://code.qt.io/qt/qtmultimedia.git
I switched to branch:

Code: Select all

5.15.2
I rename the folder:

Code: Select all

example
to:

Code: Select all

example1
(see https://bugreports.qt.io/browse/QTBUG-6 ... ent-454875 )
I have qt installed from debian 11 repositories:

Code: Select all

$ apt search qt | grep installed | grep base
qtbase5-dev/stable,now 5.15.2+dfsg-9 amd64 [installed,automatic]
qtbase5-dev-tools/stable,now 5.15.2+dfsg-9 amd64 [installed,automatic]
qtbase5-doc/stable,now 5.15.2+dfsg-9 all [installed,automatic]
I can compile qt applications without plugin. So it is not a generic problem with compiling programs.
I have necessary plugin packages installed:

Code: Select all

$ apt search qt5multimedia | grep installed
libqt5multimedia5/stable,now 5.15.2-3 amd64 [installed]
libqt5multimedia5-plugins/stable,now 5.15.2-3 amd64 [installed,automatic]
libqt5multimediagsttools5/stable,now 5.15.2-3 amd64 [installed,automatic]
libqt5multimediaquick5/stable,now 5.15.2-3 amd64 [installed,automatic]
libqt5multimediawidgets5/stable,now 5.15.2-3 amd64 [installed]
This is my debian version:

Code: Select all

$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Any idea how to fix above error is highly appreciated. Thanks in advance.
Last edited by aario on 2022-01-04 15:10, edited 1 time in total.

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: Qt pulgins are not found when compiling examples

#2 Post by aario »

This solved the problem:

Code: Select all

$ sudo apt install qtmultimedia5-dev

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

Re: Qt pulgins are not found when compiling examples

#3 Post by canci »

>I have necessary plugin packages installed:

But are the corresponding dev packages for the plugins also installed?

EDIT: Oops, I was too slow :D
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

Post Reply