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

macOS: CONFIG += separate_debug_info does not work with QMAKE_BUNDLE_EXTENSION

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.9, 5.15.0 RC
    • 5.12.2, 5.12.7
    • Build tools: qmake
    • None
    • macOS 10.14
    • macOS
    • 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

        For Gerrit Dashboard: QTBUG-83222
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            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