Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.9, 6.3
-
macOS 12
-
-
12fb2cfa11 (qt/qtbase/dev) 12fb2cfa11 (qt/tqtc-qtbase/dev) 3a8f2b0ed0 (qt/qtbase/6.3) 3a8f2b0ed0 (qt/tqtc-qtbase/6.3) 723bca3fae (qt/tqtc-qttools/5.15) 679652b77d (qt/tqtc-qttools/6.2) 723bca3fae (qt/tqtc-qttools/5.15.11)
Description
Really excited about universal binaries support in 5.15.9 but unfortunately the macdeployqt tool doesn't work.
ERROR: no file at "/usr/lib/libqcocoa.dylib" ERROR: no file at "/usr/lib/libcocoaprintersupport.dylib" ERROR: no file at "/usr/lib/libqmacstyle.dylib" ERROR: no file at "/usr/lib/libqgenericbearer.dylib" ERROR: no file at "/usr/lib/libqgif.dylib" ERROR: no file at "/usr/lib/libqico.dylib" ERROR: no file at "/usr/lib/libqjpeg.dylib"
Verbose output file is attached. For some reason the tool ignores standard locations for plugins (/usr/local/Qt-5.15.9/plugins/xxx) and tries to search in /usr/lib. Once I add a location manually, e.g.
macdeployqt myApp.app -libpath=/usr/local/Qt-5.15.9/plugins/imageformats
then some of errors dissapear:
ERROR: no file at "/usr/lib/libqcocoa.dylib" ERROR: no file at "/usr/lib/libcocoaprintersupport.dylib" ERROR: no file at "/usr/lib/libqmacstyle.dylib" ERROR: no file at "/usr/lib/libqgenericbearer.dylib"
Qt is compiled using
./configure "QMAKE_APPLE_DEVICE_ARCHS=arm64 x86_64" -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
Attachments
For Gerrit Dashboard: QTBUG-102607 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
407340,4 | macdeployqt: Ignore repeated references to binary when parsing otool -L | dev | qt/qtbase | Status: MERGED | +2 | 0 |
407596,2 | macdeployqt: Ignore repeated references to binary when parsing otool -L | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
407599,1 | macdeployqt: Ignore repeated references to binary when parsing otool -L | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |
407620,1 | macdeployqt: Ignore repeated references to binary when parsing otool -L | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |
426777,3 | macdeployqt: Ignore repeated references to binary when parsing otool -L | tqtc/lts-5.15 | qt/tqtc-qttools | Status: MERGED | +2 | 0 |
426798,8 | macdeployqt: Ignore repeated references to binary when parsing otool -L | tqtc/lts-6.2 | qt/tqtc-qttools | Status: MERGED | +2 | 0 |