FS#76086 - [qt6-multimedia] Separate backend-specified cmake files into backend packages
Attached to Project:
Arch Linux
Opened by Reverier Xu (Reverier) - Saturday, 01 October 2022, 23:43 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 02 October 2022, 08:58 GMT
Opened by Reverier Xu (Reverier) - Saturday, 01 October 2022, 23:43 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 02 October 2022, 08:58 GMT
|
Details
Description:
Qt projects that depend on Qt6::Multimedia will report errors through when only one of qt6-multimedia-ffmpeg and qt6-multimedia-gstreamer is installed. Please split the following files from this package into qt6-multimedia-ffmpeg and qt6-multimedia-gstreamer: qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QFFmpegMediaPluginAdditionalTargetInfo.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QFFmpegMediaPluginConfig.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QFFmpegMediaPluginConfigVersion.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QFFmpegMediaPluginConfigVersionImpl.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QFFmpegMediaPluginTargets-relwithdebinfo.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QFFmpegMediaPluginTargets.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginAdditionalTargetInfo.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginConfig.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginConfigVersion.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginConfigVersionImpl.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginTargets-relwithdebinfo.cmake qt6-multimedia usr/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginTargets.cmake Additional info: * package version(s) 6.4.0-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: just install qt6-multimedia-ffmpeg as backend, then create a minimum Qt6 project and edit CMakeLists.txt like this: # CMakeLists.txt cmake_minimum_required(VERSION 3.16) project(media_testing LANGUAGES CXX) find_package(Qt6 REQUIRED COMPONENTS Core Multimedia) set(QT_MEDIA_BACKEND ffmpeg) set(SRCS main.cxx) add_executable(media_testing ${SRCS}) target_link_libraries(media_testing Qt6::Core Qt6::Multimedia) then run cmake to configure the project, it will produce: CMake Error at /usr/lib64/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginTargets.cmake:95 (message): The imported target "Qt6::QGstreamerMediaPlugin" references the file "/usr/lib/qt6/plugins/multimedia/libgstreamermediaplugin.so" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginConfig.cmake:61 (include) /usr/lib64/cmake/Qt6/QtPublicPluginHelpers.cmake:439 (include) /usr/lib64/cmake/Qt6Multimedia/Qt6MultimediaPlugins.cmake:5 (__qt_internal_include_plugin_packages) /usr/lib64/cmake/Qt6Multimedia/Qt6MultimediaConfig.cmake:133 (include) /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package) CMakeLists.txt:5 (find_package) |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 02 October 2022, 08:58 GMT
Reason for closing: Fixed
Additional comments about closing: qt6-multimedia 6.4.0-2
Sunday, 02 October 2022, 08:58 GMT
Reason for closing: Fixed
Additional comments about closing: qt6-multimedia 6.4.0-2