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

Set shorter build dirs for Qt Kits on Windows

XMLWordPrintable

    • Windows
    • d93c2c67b (dev), d42c7c072 (scarthgap), af4c8147f (styhead)

      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
         

       

       

        For Gerrit Dashboard: QTBUG-129526
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes