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

[androiddeployqt] llvm-strip.exe: error: unknown argument '-strip-all'

    XMLWordPrintable

Details

    • 8e3b83ad55fd35338a3d2e1a30ab09df953abf90 (qt/qtbase/5.12)
    • 2020wk26

    Description

      Running of 'androiddeployqt.exe' on Windows produces a lot of errors:

      C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/bin\llvm-strip.exe: error: unknown argument '-strip-all'
      C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/bin\llvm-strip.exe: error: unknown argument '-strip-all'
      C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/bin\llvm-strip.exe: error: unknown argument '-strip-all'
      C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/bin\llvm-strip.exe: error: unknown argument '-strip-all'
      C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/bin\llvm-strip.exe: error: unknown argument '-strip-all'
      

       

      qt5\src\qtbase\src\tools\androiddeployqt\main.cpp

          if (options.useLLVM)
              strip = QString::fromLatin1("%1 -strip-all %2").arg(shellQuote(strip), shellQuote(fileName));
          else
      

      There is no option '-strip-all'.

      There are '--strip-all', '-S', see https://llvm.org/docs/CommandGuide/llvm-strip.html

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              dmitry.sokolov Dmitry Sokolov
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes