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

macOS: CONFIG += separate_debug_info does not work with QMAKE_BUNDLE_EXTENSION

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.2, 5.12.7
    • Fix Version/s: 5.12.9, 5.15.0 RC
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      macOS 10.14
    • Platform/s:
      macOS
    • Commits:
      12d5608a2521bd10313b44c6c56d68b9a0a680cc (qt/qtbase/5.14) 5ddec6ba089dade1c6688e0ff840c6774f29544a (qt/qtbase/5.12)

      Description

      The customised bundle extension is ignored, and so the dsymutil call fails.

      In the "myproject.pro" file:
      CONFIG += plugin no_plugin_name_prefix plugin_bundle hide_symbols separate_debug_info
      QMAKE_BUNDLE_EXTENSION = .bundle

      Compile output:

      mkdir -p myproject.plugin.dSYM/Contents/Resources/DWARF && dsymutil myproject.plugin/Contents/MacOS/myproject --flat -o myproject.plugin.dSYM/Contents/Resources/DWARF/myproject && strip -S myproject.plugin/Contents/MacOS/myproject
      error: cannot parse the debug map for 'myproject.plugin/Contents/MacOS/myproject': No such file or directory
      make[1]: *** [myproject.bundle/Contents/MacOS/myproject] Error 1
      make: *** [sub-myproject-make_first] Error 2

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            rthompson Richard Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes