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

IAR version 9.40.1 cannot be detected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 12.0.0-beta1
    • MCU Support

    Description

      QtCreator 12.0.0-beta1

      Windows 10

      MIMXT1050

      IAR 9.40.1

       

      I installed IAR compiler from https://qtcompany.sharepoint.com/sites/MCUSoftwareTools2/Shared%20Documents/Forms/AllItems.aspx?ga=1&id=%2Fsites%2FMCUSoftwareTools2%2FShared%20Documents%2FToolchains%2FIAR%2FWindows%2Fv9%2E40&viewid=6a0c405f%2D0a5d%2D457e%2D851f%2D10716d564f37 . It is installed to C:\Program Files\IAR Systems\Embedded Workbench 9.2. 

      iccarm.exe --version

       will print the correct version "V9.40.1"

         IAR ANSI C/C++ Compiler V9.40.1.364/W64 for ARM
      
         Copyright 1999-2023 IAR Systems AB.
      
      Fatal error[LMS001]: License check failed. Use the IAR License Manager to
      
                resolve the problem.
      
      No license found. [LicenseCheck:2.18.5.75,
      
                RMS:9.7.0.0036, Feature:ARM.EW.COMPILER, Version:1.23]
      
      Fatal error detected, aborting.

      but QtCreator showing warning that it cannot find "9.40.1"

       

      Edit:

      Adding the license will fix the detection issue. Now

       iccarm.exe --version

       will print

      IAR ANSI C/C++ Compiler V9.40.1.364/W64 for ARM 

      without any extra lines. Looks like the problem could be in the version detection regex. Maybe having extra lines in the version output breaks it somehow.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            k0rahman Karim Abdelrahman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes