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

CMake: on macOS (w/ framework build) the module includes the binary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0, 6.1.0 Beta2, 6.2
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      With the structure of a .framework folder:

      35 Dec 15 12:15 QtConcurrent_debug -> Versions/Current/QtConcurrent_debug
      Headers -> Versions/Current/Headers
      Resources -> Versions/Current/Resources
      Versions/
      QtConcurrent -> Versions/Current/QtConcurrent
      

      We could see a build in QtHttpServer including QtConcurrent.framework/QtConcurrent (the symlink to the library) when doing:

      #include <QtConcurrent>
      

      And the log (at the end) shows that we put the root of the include folder in path:

      -I/Users/qt/work/install/lib/QtConcurrent.framework -I/Users/qt/work/install/lib/QtConcurrent.framework/Headers
      

      So we end up including the (symlink to the) binary in the top-level folder of the .framework and not the header in Headers as we would normally expect.

      https://testresults.qt.io/logs/qt-extensions/qthttpserver/fa0144be3663fe3f4683e6a61fe975ae8d3d8bab/MacOSMacOS_10_14x86_64MacOSMacOS_10_14x86_64Clangqtci-macos-10.14-x86_64-f695c4Sccache/d65067a96d450aa1e7abf563fbe40dd7240b9662/build_1608113680/log.txt.gz

      https://testresults.qt.io/coin/integration/qt-extensions/qthttpserver/tasks/web_qt-extensions_qthttpserver_1608113463832

        Attachments

        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:
            manordheim MÃ¥rten Nordheim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes