Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. qtmultimediaquick "qml module not found"
Forum Updated to NodeBB v4.3 + New Features

qtmultimediaquick "qml module not found"

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 2 Posters 540 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shibe
    wrote on last edited by
    #1

    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.15

    Window {
    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_qtmasterR 1 Reply Last reply
    0
    • S shibe

      @Ronel_qtmaster like this? 8de095be-c239-4cf0-8c50-881db9b3f878-image.png

      Ronel_qtmasterR Offline
      Ronel_qtmasterR Offline
      Ronel_qtmaster
      wrote on last edited by
      #6

      @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

      S 1 Reply Last reply
      0
      • S shibe

        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.15

        Window {
        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_qtmasterR Offline
        Ronel_qtmasterR Offline
        Ronel_qtmaster
        wrote on last edited by
        #2

        @shibe is it not only QtMultimedia?
        Does QtMultimediaQuick exist?I don't think so
        remove import QtMultimediaQuick 5.15 and compile again

        S 1 Reply Last reply
        0
        • Ronel_qtmasterR Ronel_qtmaster

          @shibe is it not only QtMultimedia?
          Does QtMultimediaQuick exist?I don't think so
          remove import QtMultimediaQuick 5.15 and compile again

          S Offline
          S Offline
          shibe
          wrote on last edited by
          #3

          @Ronel_qtmaster i alrd removed qtmultimediaquick but then it happened that video output and media player not found

          Ronel_qtmasterR 1 Reply Last reply
          0
          • S shibe

            @Ronel_qtmaster i alrd removed qtmultimediaquick but then it happened that video output and media player not found

            Ronel_qtmasterR Offline
            Ronel_qtmasterR Offline
            Ronel_qtmaster
            wrote on last edited by
            #4

            @shibe Then you did not installed multimedia module.did you added multimedia in the pro file?

            S 1 Reply Last reply
            0
            • Ronel_qtmasterR Ronel_qtmaster

              @shibe Then you did not installed multimedia module.did you added multimedia in the pro file?

              S Offline
              S Offline
              shibe
              wrote on last edited by
              #5

              @Ronel_qtmaster like this? 8de095be-c239-4cf0-8c50-881db9b3f878-image.png

              Ronel_qtmasterR 1 Reply Last reply
              0
              • S shibe

                @Ronel_qtmaster like this? 8de095be-c239-4cf0-8c50-881db9b3f878-image.png

                Ronel_qtmasterR Offline
                Ronel_qtmasterR Offline
                Ronel_qtmaster
                wrote on last edited by
                #6

                @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

                S 1 Reply Last reply
                0
                • Ronel_qtmasterR Ronel_qtmaster

                  @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

                  S Offline
                  S Offline
                  shibe
                  wrote on last edited by
                  #7

                  @Ronel_qtmaster 8ea2d9fa-9bc1-4072-a129-23164977730d-image.png
                  then this happen, how to fix it

                  Ronel_qtmasterR 1 Reply Last reply
                  0
                  • S shibe

                    @Ronel_qtmaster 8ea2d9fa-9bc1-4072-a129-23164977730d-image.png
                    then this happen, how to fix it

                    Ronel_qtmasterR Offline
                    Ronel_qtmasterR Offline
                    Ronel_qtmaster
                    wrote on last edited by
                    #8

                    @shibe try restarting qt.this is another question.i think your problem has been solved

                    1 Reply Last reply
                    0
                    • S shibe has marked this topic as solved on

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved