qtmultimediaquick "qml module not found"
-
why it have error that not having qtmultimediaquick, how can i fix that, does any other way that i can use to stream camera not using it
import QtQuick 2.15
import QtQuick.Window 2.15
import QtMultimedia 5.15
import QtMultimediaQuick 5.15Window {
visible: true
width: 640
height: 480
title: "RTSP Camera Stream"VideoOutput {
id: videoOutput
anchors.fill: parent
source: camera
}MediaPlayer {
id: mediaPlayer
autoPlay: true
source: "rtsp://admin:123456aA@192.168.100.130:554"
}Video {
id: camera
width: 640
height: 480
source: mediaPlayer
}}
0 -
@Ronel_qtmaster like this?
@shibe yes exactly.But are you using qt5 or qt6? your installed version of qt multimedia is 6.6 but you are using 5.15 in the code
-
why it have error that not having qtmultimediaquick, how can i fix that, does any other way that i can use to stream camera not using it
import QtQuick 2.15
import QtQuick.Window 2.15
import QtMultimedia 5.15
import QtMultimediaQuick 5.15Window {
visible: true
width: 640
height: 480
title: "RTSP Camera Stream"VideoOutput {
id: videoOutput
anchors.fill: parent
source: camera
}MediaPlayer {
id: mediaPlayer
autoPlay: true
source: "rtsp://admin:123456aA@192.168.100.130:554"
}Video {
id: camera
width: 640
height: 480
source: mediaPlayer
}}
0@shibe is it not only QtMultimedia?
Does QtMultimediaQuick exist?I don't think so
remove import QtMultimediaQuick 5.15 and compile again -
@shibe is it not only QtMultimedia?
Does QtMultimediaQuick exist?I don't think so
remove import QtMultimediaQuick 5.15 and compile again@Ronel_qtmaster i alrd removed qtmultimediaquick but then it happened that video output and media player not found
-
@Ronel_qtmaster i alrd removed qtmultimediaquick but then it happened that video output and media player not found
@shibe Then you did not installed multimedia module.did you added multimedia in the pro file?
-
@shibe Then you did not installed multimedia module.did you added multimedia in the pro file?
@Ronel_qtmaster like this?
-
@Ronel_qtmaster like this?
@shibe yes exactly.But are you using qt5 or qt6? your installed version of qt multimedia is 6.6 but you are using 5.15 in the code
-
@shibe yes exactly.But are you using qt5 or qt6? your installed version of qt multimedia is 6.6 but you are using 5.15 in the code
@Ronel_qtmaster
then this happen, how to fix it -
@Ronel_qtmaster
then this happen, how to fix it@shibe try restarting qt.this is another question.i think your problem has been solved
-