Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-3327

systemInfo.buildCpuArchitecture returned an incorrect value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.5.1, 4.7
    • Tools
    • None
    • macOS

    Description

      I am using Mac with arm64 architecture

      • When running from my terminal. it returns correctly:
      ❯ uname -m
      arm64
      • When using API to check architecture:
          var cpu = systemInfo.buildCpuArchitecture;
          console.log("CPU: " + cpu);

      return

      CPU: x86_64 
      • When using the command directly in the installer code:
      var cpu = installer.execute("/usr/bin/uname", ["-m"]);
      console.log("CPU: " + cpu); 

      return

      CPU: x86_64 
      

       

       

      => Expected value: arm64

      Attachments

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

        Activity

          People

            installerteam Installer Team
            hsondd_emotiv Đoàn Sơn
            Katja Marttila Katja Marttila
            Katja Marttila Katja Marttila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes