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

[wasm] Cannot configure 3rd party system libraries

    XMLWordPrintable

    Details

    • Platform/s:
      WebAssembly

      Description

      Using 3rd party system libraries (zlib, harfbuzz, freetype, libpng, libjpeg, openssl) cross-compiled to emscripten cannot be configured as system libraries them even though
      there are appropriate Findxzy.cmake files in the provided CMAKE_PREFIX_PATH / CMAKE_MODULE_PATH.
       
      Following error result for example with zlib:

      ERROR: Feature "system_zlib": Forcing to "ON" breaks its condition:     WrapZLIB_FOUND Condition values dump:     WrapZLIB_FOUND = "FALSE"  

      And also these even if configured as system:

         JPEG ................................. yes

           Using system libjpeg ............... no

       FreeType ............................... yes

         Using system FreeType ................ no

       PCRE2 .................................. yes

         Using system PCRE2 ................... no

       WEBP ................................... yes

         Using system libwebp ................. no

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              tuomas.vaarala Tuomas Vaarala
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes