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

[REG][CMake] Using a static Qt library of a macOS framework build does not work

    XMLWordPrintable

Details

    • macOS
    • d5c9d88885916265819d7f6d3f336cf39ca1a863 (qt/qtbase/5.14.1)

    Description

      This is a regression introduced by the fix for QTBUG-80855 .

      It has been observed when building PySide2 against a macOS qt framework build, which uses the Qt5UiTools package.

      The Qt5UiTools CMake package reads the corresponding .prl file to get its static library dependencies. The dependencies include not only system libraries, but also Qt libraries via entries like "-framework;QtWidgets;-framework;QtGui".

      _qt5_UiTools_process_prl_file tries to call find_library on QtWidgets when handling framework options, fails, and thus the whole CMake configuration fails.

      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
              alexandru.croitor Alexandru Croitor
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes