summaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Add support for building WMF backend with MinGW 9.0.0André de la Rocha2021-09-241-16/+19
| | | | | | | | | | | | Allows building QtMultimedia with a working Microsoft Media Foundation backend, using MinGW 9.0.0, which has better support for WMF. Also fixes warnings generated by newer GCC releases. Fixes: QTBUG-95234 Change-Id: I76e68c3b8dc4240f63543bbbb73a233289c67421 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit a199c508b82644fddfbf9a2b3c7e03433e81bc5d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build without pkg-config supportJoerg Bornemann2021-09-132-4/+4
| | | | | | | | | | | | Fix several issues in cmake/Find* in the code path that's hit when pkg-config is not used. Task-number: QTBUG-96401 Change-Id: Iac6af560976ba6408d877027ed44a0354d32d2b7 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Doris Verria <doris.verria@qt.io> (cherry picked from commit 375d2c0ccb602df38ef8f49c5b3e0bf09c24bf46) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Enable compilation of the Qt Multimedia module in CILars Knoll2021-05-282-0/+12
| | | | | | | | | | | | | | And fix a couple of smaller issues found by CI. Add some hacks/workarounds for issues with gstreamer packages and packageconfig files. Disable compilation of the QNX backend (as it's broken currently), and use the wnf and wmsdk feature tests to determine whether to compile the windows backend. Change-Id: I12f8983132f50b337cb15eb473d87299d3259745 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Cleanup QCameraInfoLars Knoll2021-01-291-0/+0
| | | | | | | | | | | | | | | | | | | Various API changes to QCameraInfo: * Remove the camera orientation from our API This is an implementation detail that should never be exposed to the user. For fixed cameras it's uninteresting and for mobile cameras, we can use the physical orientation of the device to create a stream that is oriented the correct way. * Add a QVideoFormat class describing a video format * Add a QList<QVideoFormat> videoFormats() * Add a QList<QSize> photoResolutions() * Implement the API for gstreamer and macOS. Change-Id: I9ffd9caeb6d07a6f267608a6bd794d99699fffbb Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add find modules for 3rd party libraries and fix CMake filesDoris Verria2021-01-286-0/+307
Detect gstreamer, avfoundation, pulseaudio, alsa, mmrenderer and wmf with cmake. Regenerate and adjust configure.cmake and CMakeLists.txt files accordingly. Change-Id: I550136909498d3870e0babd6294652774a718f64 Reviewed-by: Lars Knoll <lars.knoll@qt.io>