Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1482

"Product was disabled" if choose long GCC name which contains a version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.16.0
    • 1.13.1
    • Configuration Probes
    • None
    • * Windows 10 / ArchLinux
      * ARM GCC toolchain / GCC x86_64 toolchain
      * QtC 4.9.2 (QBS 1.13.1)
    • Linux/X11, Windows

    Description

      If to add to the QtC the long GCC compiler name (e.g. arm-none-eabi-gcc-8.2.1.exe instead of arm-none-eabi-gcc.exe, which is located in same directory and is a same file), then any trying to open the QBS project from QtC fails with following messages:

      == Windows ==

      :-1: warning: Unknown architecture 'arm' may not be supported by this compiler.
      
      D:\Git\ng\123\qbs-git\iar-tests\nucleoapp\nucleoapp.qbs:3: warning: Error while handling product 'nucleoapp':
      
      C:\Qt-meta\Tools\QtCreator\share\qtcreator\qbs\share\qbs\modules\cpp\GenericGCC.qbs:283: warning: The following properties are not set. Set them in your profile or product:
      cpp.compilerIncludePaths
      cpp.compilerFrameworkPaths
      cpp.compilerLibraryPaths
      
      D:\Git\ng\123\qbs-git\iar-tests\nucleoapp\nucleoapp.qbs:3: warning: Product 'nucleoapp' had errors and was disabled.
      

      == Linux ==

      :-1: warning: Could not detect target platform ('linux' given)
      
      /home/denis/untitled/untitled.qbs:3: warning: Error while handling product 'untitled':
      
      /usr/share/qbs/modules/cpp/GenericGCC.qbs:283: warning: The following properties are not set. Set them in your profile or product:
      cpp.compilerIncludePaths
      cpp.compilerFrameworkPaths
      cpp.compilerLibraryPaths
      
      /home/denis/untitled/untitled.qbs:3: warning: Product 'untitled' had errors and was disabled.
      

      Attachments

        1. mingw-c++-compiler-config.png
          mingw-c++-compiler-config.png
          44 kB
        2. mingw-c-compiler-config.png
          mingw-c-compiler-config.png
          41 kB
        3. mingw-kit-config.png
          mingw-kit-config.png
          36 kB
        4. mingw-qbs-config.png
          mingw-qbs-config.png
          27 kB
        5. qbs-long-gcc-cfg.png
          qbs-long-gcc-cfg.png
          25 kB
        6. qbs-proj-parse-error.png
          qbs-proj-parse-error.png
          41 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kuzulis Denis Shienkov
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes