Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12133

Invalid archiver name when compiler name is prefixed

    XMLWordPrintable

Details

    • 39ae35cd819775f02f01ed738de0c788cd2ede37

    Description

      When building using Qt Creator and compiler name contains prefix (e.g. arm-linux-androideabi-g++) QBS invokes 'ar' instead of prefixed name (arm-linux-androideabi-ar).

      ERROR: /home/a-baskanov/Downloads/arm-linux-androideabi-4.7/bin/ar rcs /home/a-baskanov/src/ar/qtc_Android-release/liba.a /home/a-baskanov/src/ar/qtc_Android-release/.obj/a/a.cpp.o
      ERROR: The process '/home/a-baskanov/Downloads/arm-linux-androideabi-4.7/bin/ar' could not be started: No such file or directory
      

      Qt Creator generates the following profile:

      [profiles]
      qtc_Android\cpp\compilerName=arm-linux-androideabi-g++
      qtc_Android\cpp\toolchainInstallPath=/home/a-baskanov/Downloads/arm-linux-androideabi-4.7/bin
      qtc_Android\qbs\architecture=arm
      qtc_Android\qbs\endianness=little
      qtc_Android\qbs\targetOS=linux, unix
      qtc_Android\qbs\toolchain=gcc
      

      Editing the generated profile by hand doesn't help since it is overwritten every time when Qt Creator starts.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-12133
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            baskanov Anton Baskanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes