module "QtMultimedia" is not installed
-
My 2 penneth :)
In examples, just type video into the search bar and look for QML Video Example.
But, before you bother with the above example, I see no mention of starting the Maintenance Tool and checking that QtMultimedia is actually included/installed in your current set up, might be worth a look.
I recently installed Qt6 and found I could not run any multimedia type apps with the same error you have, but checking maintenance tool, I could see it was not included originally, now it's installed and I have just built a basic test app to run an mp3, it works as expected.
In examples, just type video into the search bar and look for QML Video Example.
I've already done this! :(
I see no mention of starting the Maintenance Tool and checking that QtMultimedia is actually included/installed in your current set up
I've already done this one as well! But there's no such an item called
QtMultimedia
to install! :(What is the problem indeed, please? :(
-
You can also clone the QtMultimedia module to get the example code.
-
In examples, just type video into the search bar and look for QML Video Example.
I've already done this! :(
I see no mention of starting the Maintenance Tool and checking that QtMultimedia is actually included/installed in your current set up
I've already done this one as well! But there's no such an item called
QtMultimedia
to install! :(What is the problem indeed, please? :(
@tomy - did you expand your version in the menu?, if you do, you should see "Additional Libraries" in the list, among the contents, you should find QtMultimedia.
In my image, you see I have expanded the version I have installed (Qt 6.2.3)........additional libraries/QtMultimedia.
How odd that you have no examples with your installation, I thought they were automatically included.
-
@tomy - did you expand your version in the menu?, if you do, you should see "Additional Libraries" in the list, among the contents, you should find QtMultimedia.
In my image, you see I have expanded the version I have installed (Qt 6.2.3)........additional libraries/QtMultimedia.
How odd that you have no examples with your installation, I thought they were automatically included.
-
-
@QtWorld said in module "QtMultimedia" is not installed:
why i get this error
Because your code is wrong.
Please look here: https://doc.qt.io/qt-6/qml-qtmultimedia-videooutput.html -
If you look at the code here,
https://doc.qt.io/qt-6/qml-qtmultimedia-videooutput.htmlThe video output is used for media player. Where is your player? How do you code your player?
property "source" does not exist in VideoOutput from
https://doc.qt.io/qt-6/qml-qtmultimedia-videooutput-members.html