Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-734

Qbs with Qt Creator creates too long pathnames

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.4.0
    • Component/s: Qt Creator Integration
    • Labels:
      None
    • Commits:
      773b41ff6178f290f4b90f1018c7da13e17b8ea0

      Description

      As it stands now: Windows has a home folder and I like to keep my stuff tidy and oredered something like that C:\Users\HGH\Documents\BitBucket\Qbs Projects\ProjectName... it happens so that when Qt Creators builds the project it easily exceeeds the Windows limitation of a path names upto 260 characters.
      It would be nice if there is an option to shorten the filenames in the build folder and still have a nice tidy folder tree.
      qmake doesn't hit this limit.

      Example path where my project is located (62 characters):

      C:\Users\HGH\Documents\GitHub\QbsProjectTemplates\Win32\Win32

      Qt Creators default build directory is then (122 characters):
      C:\Users\HGH\Documents\GitHub\QbsProjectTemplates\Win32\build-Win32Application-Microsoft_Visual_C_Compiler_12_0_x86-Debug

      And the generated by default build path would be then (261 characters):

      C:\Users\HGH\Documents\GitHub\QbsProjectTemplates\Win32\build-Win32Application-Microsoft_Visual_C_Compiler_12_0_x86-Debug\qtc_Microsoft_Visual_C_Compiler_12_0_x86-debug\Win32Application.qtc_Microsoft_Visual_C_Compiler_12_0_x86\intermediate.Win32Application.exe

      When one figures out first why the project wouldn't compile as it isn't apparrent at frist that the path is way too long this causes the inconvenience to have to manually give Qt Creator some shorter directory build path.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            zingam Zingam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes