Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129526

Set shorter build dirs for Qt Kits on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • Packaging & Installer
    • None
    • Windows

    Description

      Qt Creator creates build directories based on kit name and build configuration. Ás we have rather descriptive kit names, they can be quite long, i.e.g

       Boot2Qt_6_8_0_NVIDIA_Jetson_Orin_Nano_Developer_Kit-Debug

      This is a problem especially on Windows, as the build path is showing up in command lines, and might cause commands to fail due to too long file names.

      Instead of using the display name of the kit, Qt Creator allows setting a custom build name though. This can be achieved by setting a 'PE.Profile.FileSystemFriendlyName' when registering the kit via sdktool:

      sdktool.exe addKit --id embedded.b2qt.680.jetsonorinnanodevkit.toolchain [...] "PE.Profile.FileSystemFriendlyName" "QString:B2Qt_6_8_0_JetsonOrinNano" 

      Suggested name mapping

      Kit name FileSystemFriendlyName
      Boot2Qt 6.8.0 NVIDIA Jetson Orin Nano Developer Kit B2Qt_6_8_0_JetsonOrinNano
         

       

       

      Attachments

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

        Activity

          People

            gronoff Mikko Gronoff
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes