Building Qt 6.5.0 from source with GStreamer enabled
-
Hi, I am trying to build
Qt 6.5.0from source onwindows 11with enablinggstreamer.
When I run..\qt-everywhere-src-6.5.0\configure --helpI get this for enabling gstreamer:

And I try to configure Qt with the following command:
..\qt-everywhere-src-6.5.0\configure -release -platform win32-g++ -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests -prefix C:\output\qt6.5.0 -gstreamerAnd I get the following error:
-- Windows 10 SDK version: CMake Error at C:/Sources/qt-everywhere-src-6.5.0/qtbase/cmake/QtProcessConfigureArgs.cmake:299 (message): Invalid value '' supplied to command line option 'gstreamer'.Also I tried with
-gstreamer 1.0or-gstreamer 1but got the same error.
Any idea what I am doing wrong? -
Hi and welcome to devnet,
Did you build and install GStreamer for Windows ?
-
@SGaist Hi and thank you.
I have installed GStreamer MinGW 64-bit runtime installer and development installer.
Do I need to build GStreamer from the source and specify the path in the configure command? -
@SGaist Hi and thank you.
I have installed GStreamer MinGW 64-bit runtime installer and development installer.
Do I need to build GStreamer from the source and specify the path in the configure command?@aleksandar14 if you have the development files, it should be good. Did you point the configure script so it can find GStreamer's development files ? Also, are you using MinGW as well to build Qt ?
-
@aleksandar14 if you have the development files, it should be good. Did you point the configure script so it can find GStreamer's development files ? Also, are you using MinGW as well to build Qt ?
@SGaist No, I didn't specify any paths to the configure script about GStreamer's development files. Should I pass the path on the configure command or I should add the path in some file?
Also, yes about the compiler, If I run the configure command without
-gstreamerin the config summary I am getting Compiler:gcc 13.1.0. -
@SGaist No, I didn't specify any paths to the configure script about GStreamer's development files. Should I pass the path on the configure command or I should add the path in some file?
Also, yes about the compiler, If I run the configure command without
-gstreamerin the config summary I am getting Compiler:gcc 13.1.0.I tried passing it like this and same error occurred:
-gstreamer C:\gstreamer\1.0\mingw_x86_64\bin -
Qt 6 use cmake as build system. You can't just put a path somewhere expecting it to be picked up.