Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.3.1
-
None
-
2022wk26FOQtforAndroid
Description
androiddeployqt calls llvm-readobj with arg '-needed-libs': 1, 2
Support of one-dash long options was removed from llvm at this commit (version=13). See also discussion.
android-ndk v24 includes llvm v14, so problem must be reproduced with any Qt + android NDK v24 (and, likely, future v25).
I try to change '-needed-libs' to '--needed-libs' in Qt code and androiddeployqt works. Seems, this can be a solution. As I understand, double dash long options was always supported (still need to check).
Don't know which versions of Qt need to be fixed. I try to use 6.3.1, but the same code must be in v5.
As for me, this is also ugly behaviour from llvm, because produced error message is confusing.
Attachments
Issue Links
- is cloned by
-
QTBUG-114434 androiddeployqt fails with "unknown argument '--libs'"
- Reported
- relates to
-
QTCREATORBUG-27751 NDK 24 debugger (lldb, lldb-server) not working on Android target device
- Closed
-
QTBUG-99663 Verify Qt Android build with NDK 24
- Closed
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-104580 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
418757,4 | Fix an incorrect invocation of llvm-readobj | dev | qt/qtbase | Status: MERGED | +2 | 0 |
419222,3 | Fix an incorrect invocation of llvm-readobj | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
419223,2 | Fix an incorrect invocation of llvm-readobj | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
419231,3 | Fix an incorrect invocation of llvm-readobj | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
419232,3 | Fix an incorrect invocation of llvm-readobj | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |