Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.2, 5.12.7
-
None
-
macOS 10.14
-
-
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 |
296404,2 | macOS: Fix CONFIG+=separate_debug_info for custom QMAKE_BUNDLE_EXTENSION | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
296532,3 | macOS: Fix CONFIG+=separate_debug_info for custom QMAKE_BUNDLE_EXTENSION | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |