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

Misleading cmake output about missing optional packages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.2.0 Beta4
    • Build System: CMake
    • None
    • Linux x86_64
    • Linux/X11
    • 70a2e7f32 (dev), 43877ca81 (6.7)

    Description

      Even though system versions of harfbuzz, zstd, brotli and pcre2 are correctly detected by cmake and used in the build (as shown by the compiled libraries being linked to them), cmake output shows

      -- The following OPTIONAL packages have not been found:
      * zstd 
      * PCRE2 (required version >= 10.20) 
      * unofficial-brotli 
      * harfbuzz (required version >= 2.6.0)
      

      This is quite confusing and makes it hard to distinguish which system libraries are really missing.

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              arojas Antonio Rojas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes