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

Kit created with SDK tool does not work

    XMLWordPrintable

Details

    • Linux/X11
    • a106c7cc0 (16.0)

    Description

      A kit which was created with the SDK tool is not completely adopted and ultimately does not work.

      The following xml files were prepared in share/qtcreator/QtProject/qtcreator

      toolchains.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE QtCreatorToolChains>
      <!-- Written by sdktool , 2025-01-31T19:19:41. -->
      <qtcreator>
       <data>
        <variable>ToolChain.0</variable>
        <valuemap type="QVariantMap">
         <value type="QString" key="ProjectExplorer.GccToolChain.Path">/opt/mgcodebench/mel/ade/ade-x86_64-bsh-image-qt-bsh-sme-65.2.0/../../../toolchains/arm-oe-linux-gnueabi.12.0/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++</value>
         <valuelist type="QVariantList" key="ProjectExplorer.GccToolChain.SupportedAbis">
          <value type="QString">arm-linux-generic-elf-32bit</value>
         </valuelist>
         <value type="QString" key="ProjectExplorer.GccToolChain.TargetAbi">arm-linux-generic-elf-32bit</value>
         <value type="bool" key="ProjectExplorer.ToolChain.Autodetect">true</value>
         <value type="QString" key="ProjectExplorer.ToolChain.DisplayName">Codebench Compilers</value>
         <value type="QString" key="ProjectExplorer.ToolChain.Id">ProjectExplorer.ToolChain.Gcc:BSH.Qt-5.15.9.sme-65.2.0.g++</value>
         <value type="QString" key="ProjectExplorer.ToolChain.LanguageV2">Cxx</value>
        </valuemap>
       </data>
       <data>
        <variable>ToolChain.Count</variable>
        <value type="int">1</value>
       </data>
       <data>
        <variable>Version</variable>
        <value type="int">1</value>
       </data>
      </qtcreator> 

      profiles.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE QtCreatorProfiles>
      <!-- Written by sdktool , 2025-01-31T19:19:41. -->
      <qtcreator>
       <data>
        <variable>Profile.0</variable>
        <valuemap type="QVariantMap">
         <value type="bool" key="PE.Profile.AutoDetected">true</value>
         <valuemap type="QVariantMap" key="PE.Profile.Data">
          <valuelist type="QVariantList" key="CMake.ConfigurationKitInformation">
           <value type="QString">CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx}</value>
           <value type="QString">CMAKE_C_COMPILER:STRING=%{Compiler:Executable:C}</value>
           <value type="QString">CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX}</value>
           <value type="QString">QT_CREATOR_SKIP_CONAN_SETUP:BOOL=ON</value>
           <value type="QString">QT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable}</value>
          </valuelist>
          <value type="QString" key="CMakeProjectManager.CMakeKitInformation">BSH.cmake</value>
          <value type="QString" key="PE.Profile.DeviceType">Desktop</value>
          <value type="QString" key="QtSupport.QtInformation">SDK.qt.5.15.9.gcc_64</value>
         </valuemap>
         <value type="QString" key="PE.Profile.Icon"></value>
         <value type="QString" key="PE.Profile.Id">qt.5.15.9.gcc_64_kit</value>
         <value type="QString" key="PE.Profile.Name">Desktop Qt %{Qt:Version} GCC 64bit</value>
         <value type="bool" key="PE.Profile.SDK">true</value>
        </valuemap>
       </data>
       <data>
        <variable>Profile.1</variable>
        <valuemap type="QVariantMap">
         <value type="bool" key="PE.Profile.AutoDetected">true</value>
         <valuemap type="QVariantMap" key="PE.Profile.Data">
          <valuelist type="QVariantList" key="CMake.ConfigurationKitInformation">
           <value type="QString">CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx}</value>
           <value type="QString">CMAKE_C_COMPILER:STRING=%{Compiler:Executable:C}</value>
           <value type="QString">CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX}</value>
           <value type="QString">QT_CREATOR_SKIP_CONAN_SETUP:BOOL=ON</value>
           <value type="QString">QT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable}</value>
           <value type="QString">CMAKE_TOOLCHAIN_FILE:FILEPATH=ade-bsh-sme</value>
           <value type="QString">CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja</value>
          </valuelist>
          <valuemap type="QVariantMap" key="CMake.GeneratorKitInformation">
           <value type="QString" key="Generator">Ninja</value>
          </valuemap>
          <value type="QString" key="CMakeProjectManager.CMakeKitInformation">BSH.cmake</value>
          <value type="QString" key="Debugger.Information">BSH.Qt-5.15.9.sme-65.2.0.gdb</value>
          <value type="QString" key="PE.Profile.Device">BSH.Qt-5.15.9.sme-65.2.0.device</value>
          <value type="QString" key="PE.Profile.DeviceType">GenericLinuxOsType</value>
          <value type="QString" key="PE.Profile.SysRoot">/opt/mgcodebench/mel/ade/ade-x86_64-bsh-image-qt-bsh-sme-65.2.0/sysroots/cortexa9t2hf-neon-mel-linux-gnueabi</value>
          <valuemap type="QVariantMap" key="PE.Profile.ToolChainsV3">
           <value type="QString" key="Cxx">ProjectExplorer.ToolChain.Gcc:BSH.Qt-5.15.9.sme-65.2.0.g++</value>
          </valuemap>
          <value type="QString" key="QtPM4.mkSpecInformation">linux-oe-g++</value>
          <value type="QString" key="QtSupport.QtInformation">SDK.BSH.Qt-5.15.9.sme-65.2.0.qt</value>
         </valuemap>
         <value type="QString" key="PE.Profile.Icon"></value>
         <value type="QString" key="PE.Profile.Id">BSH.Qt-5.15.9.sme-65.2.0.kit</value>
         <value type="QString" key="PE.Profile.Name">BSH Qt 5.15.9 sme-65.2.0</value>
         <value type="bool" key="PE.Profile.SDK">true</value>
        </valuemap>
       </data>
       <data>
        <variable>Profile.Count</variable>
        <value type="int">2</value>
       </data>
       <data>
        <variable>Profile.Default</variable>
        <value type="QString">qt.5.15.9.gcc_64_kit</value>
       </data>
       <data>
        <variable>Version</variable> 

      But after launching QtC, in the imported Kit the system compiler is used.

      Version 14 still worked with this approach.

      Attachments

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

        Activity

          People

            con Eike Ziller
            gruberd Dennis Gruber
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes