0

I have downloaded qt-everywhere-opensource-src-5.6.0 and build it with configure options witn mingw32 on WIndows 7:

configure -static -release -platform win32-g++ -openssl -I C:\OpenSSL-Win32\include -L C:\OpenSSL-Win32\lib\MinGW -target xp -no-directwrite -no-angle -no-opengl -static-runtime -wmf-backend -audio-backend

I get "Unknown module(s) in QT: multimedia" from the .pro when including QT += multimedia.

In directory 'C:\qt-everywhere-opensource-src-5.6.0\' or 'C:\qt-everywhere-opensource-src-5.6.0\qtbase\include' not exist folder named qtmultimedia.

I found this: qtmultimedia-opensource-src-5.6.0.7z

How i can add QtMultimedia support in my QT.

How to
  • 103
  • 1
  • 11

2 Answers2

0

So you want to build qt multimedia module statically. I can't see any error in the parameters that you pass to configure. Adding -make libs can work. However, I've build static versions of qt many times, and I always get support for Qt Multimedia. There are the parameters that I usually use to build Qt on Windows:
configure -prefix "/somePath/Qt511Static" -static -static-runtime -release -opensource -confirm-license -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -sql-sqlite -make libs -nomake tools -nomake examples -nomake tests -skip qtwebengine

Also make sure you install the static version of qt correctly and also set a new static kit in qt creator.

0

It is possible that you ran configure in C:\qt-everywhere-opensource-src-5.6.0\qtbase instead of in the top level directory at C:\qt-everywhere-opensource-src-5.6.0

This would have resulted in only qtbase being configured. So when you ran nmake or jom after, you would only get the base modules and not the other modules such as Multimedia.

ManuelH
  • 846
  • 1
  • 15
  • 25