Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126211

Multiple CMake warnings about missing 'pc' files on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.8.1, 6.9.0 FF
    • 6.8
    • Multimedia
    • None
    • Windows
    • aaa1e03bf (dev), a71558eef (6.8), a2dce229b (6.7)

    Description

      Configuring Qt Multimedia results in multiple warnings on the form

      1> [CMake] CMake Warning at cmake/FindFFmpeg.cmake:290 (message):
      1> [CMake]   FFmpeg pc file K:/dev/ffmpeg/build/installed/bin/pkgconfig/libavformat.pc
      1> [CMake]   is not found
      1> [CMake] Call Stack (most recent call first):
      1> [CMake]   cmake/FindFFmpeg.cmake:312 (__ffmpeg_internal_set_dependencies)
      1> [CMake]   K:/qt/qt6/qtbase/cmake/QtFindPackageHelpers.cmake:156 (find_package)
      1> [CMake]   src/multimedia/configure.cmake:31 (qt_find_package)
      1> [CMake]   K:/qt/qt6/qtbase/cmake/QtModuleHelpers.cmake:665 (include)
      1> [CMake]   src/multimedia/CMakeLists.txt:18 (qt_internal_add_module) 

      Ideally, we should avoid these warnings on Windows/MSVC because the pc files are not needed/present.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              johanseg Jøger Hansegård
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: