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. QtMultimedia" is not installed in Qt 5.0.2 MinGW 32bit
Forum Updated to NodeBB v4.3 + New Features

QtMultimedia" is not installed in Qt 5.0.2 MinGW 32bit

Scheduled Pinned Locked Moved QML and Qt Quick
qt quickqtmultimediamingw
16 Posts 3 Posters 5.5k Views 3 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi,

    Maybe a silly question but did you add

    QT += multimedia

    in your pro file ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    vladinko0V 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Maybe a silly question but did you add

      QT += multimedia

      in your pro file ?

      vladinko0V Offline
      vladinko0V Offline
      vladinko0
      wrote on last edited by
      #5

      @SGaist In Qt Quick UI project, there is no pro file. There is just
      mytest.qmlproject:
      /* File generated by Qt Creator */

      import QmlProject 1.1

      Project {
      mainFile: "untitled14.qml"

      /* Include .qml, .js, and image files from current directory and subdirectories */
      QmlFiles {
          directory: "."
      }
      JavaScriptFiles {
          directory: "."
      }
      ImageFiles {
          directory: "."
      }
      /* List of plugin directories passed to QML runtime */
      // importPaths: [ "../exampleplugin" ]
      

      }

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #6

        Are you sure you don't have any pro file in the mytest folder ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        vladinko0V 1 Reply Last reply
        0
        • SGaistS SGaist

          Are you sure you don't have any pro file in the mytest folder ?

          vladinko0V Offline
          vladinko0V Offline
          vladinko0
          wrote on last edited by
          #7

          @SGaist Yes, I am sure. In these projects, pro files are never created.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #8

            Sorry, I've mixed it with QtQuick Application template.

            Just tested but with 5.4 and its working fine. So I'd advise to check the content of your lib folder to see if you have QtMultimedia installed.

            On a side note 5.0.2 is pretty old, are you locked to that version ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • vladinko0V Offline
              vladinko0V Offline
              vladinko0
              wrote on last edited by
              #9

              I've just installed version 5.3 (just MinGW 4.8.2 32 bit) but still it doesn't work. Should I also install Source components (Add-Ons and Essentials)? Because I didn't do it.

              In lib folder are libQt5MultimediaQuick_p.a, libQt5MultimediaQuick_pd.a, Qt5MultimediaQuick_p.prl and Qt5MultimediaQuick_prl.a files.

              I am using 5.0.2, because I want to create application usable for new and also for older systems, that don't have OpenGL.

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #10

                @vladinko0 said:

                I am using 5.0.2, because I want to create application usable for new and also for older systems, that don't have OpenGL.

                OpenGL requirements in Qt 5.0.2 are the same as they are in the newest Qt 5.4. In both, QtQuick 2 requires at least OpenGL 2.0.

                (Z(:^

                vladinko0V 1 Reply Last reply
                0
                • sierdzioS sierdzio

                  @vladinko0 said:

                  I am using 5.0.2, because I want to create application usable for new and also for older systems, that don't have OpenGL.

                  OpenGL requirements in Qt 5.0.2 are the same as they are in the newest Qt 5.4. In both, QtQuick 2 requires at least OpenGL 2.0.

                  vladinko0V Offline
                  vladinko0V Offline
                  vladinko0
                  wrote on last edited by vladinko0
                  #11

                  @sierdzio said:

                  OpenGL requirements in Qt 5.0.2 are the same as they are in the newest Qt 5.4. In both, QtQuick 2 requires at least OpenGL 2.0.

                  I am using QtQuick 1.1.

                  As it is written in http://stackoverflow.com/questions/20530157/error-qopenglshader-could-not-create-shader-when-compiling-qtquick-applicati
                  I thought lower Qt versions use ANGLE.

                  In my computer I have that "QOpenGLShaderProgram: could not create shader program... etc." Also I don't want to force users to upgrade their graphical driver.
                  Can you advice, what way to make application working also in old systems?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by SGaist
                    #12

                    Version older than 5.4 were compiled either with ANGLE or desktop OpenGL. Since 5.4 the backend is dynamically selected based on what is available on your OS.

                    AFAIK, to ensure maximum compatibility you would need to use OpenGL.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    vladinko0V 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Version older than 5.4 were compiled either with ANGLE or desktop OpenGL. Since 5.4 the backend is dynamically selected based on what is available on your OS.

                      AFAIK, to ensure maximum compatibility you would need to use OpenGL.

                      vladinko0V Offline
                      vladinko0V Offline
                      vladinko0
                      wrote on last edited by
                      #13

                      @SGaist So why I can not run any project except for QtQuick 1.1?

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #14

                        That depends on your target available OpenGL implementation.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • sierdzioS Offline
                          sierdzioS Offline
                          sierdzio
                          Moderators
                          wrote on last edited by
                          #15

                          Hm, I thought QtQuick 1 does not require OpenGL... maybe the dependency "leaks" from QtGui?

                          (Z(:^

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #16

                            @sierdzio AFAIK you're right, it doesn't since it uses the GraphicsView framework. However I don't remember if it completely bypasses it if Qt's built with OpenGL support.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0

                            • Login

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