Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT += multimedia under windows, broken project

QT += multimedia under windows, broken project

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 226 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.
  • Xena_oX Offline
    Xena_oX Offline
    Xena_o
    wrote on last edited by
    #1

    Hello,

    Im facing a weird issue, i actualy added to an existing project under Qt 5.15.2 under Windows :

    QT += multimedia multimediawidgets
    

    i get the error

    Unknown module(s) in QT: multimedia multimediawidgets
    

    the weird part is when i try the "player" project example from Qt who uses multimedia, it works fine, also if i create a new project and add multimedia, all is fine.

    Also if i copy the project to MacOSx under same version of Qt 5.15.2, i add multimedia, all goes fine, i just have the issue under windows...

    Just to one project i get this error, i guess the project is broken or something ?
    Anyway to get it work ?

    thank you

    jsulmJ 1 Reply Last reply
    0
    • Xena_oX Xena_o

      Hello,

      Im facing a weird issue, i actualy added to an existing project under Qt 5.15.2 under Windows :

      QT += multimedia multimediawidgets
      

      i get the error

      Unknown module(s) in QT: multimedia multimediawidgets
      

      the weird part is when i try the "player" project example from Qt who uses multimedia, it works fine, also if i create a new project and add multimedia, all is fine.

      Also if i copy the project to MacOSx under same version of Qt 5.15.2, i add multimedia, all goes fine, i just have the issue under windows...

      Just to one project i get this error, i guess the project is broken or something ?
      Anyway to get it work ?

      thank you

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Xena_o Did you make sure you're using Qt 5.15.2 which has QtMultimedia module? Check the used Kit.
      You can also try a complete rebuild: delete build folder and run qmake.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Xena_oX Offline
        Xena_oX Offline
        Xena_o
        wrote on last edited by
        #3

        @jsulm yes its is the 5.15.2 kit, i checked. I deleted the build folder, and built again, this did not solved the problem.

        1 Reply Last reply
        0
        • Xena_oX Offline
          Xena_oX Offline
          Xena_o
          wrote on last edited by
          #4

          i figure out the issue : for some unknown reasons Qt created extra .pro files, i found .pro.user and two .pro.user.xxxx where xxxx is random hexa
          when i deleted those files, Qt recognized multimedia immediatly !

          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