[QBS] Target pathnames getting too long on Windows

Christian Kandeler christian.kandeler at digia.com
Mon Sep 22 16:09:43 CEST 2014


On 09/22/2014 03:52 PM, Thomas Epting wrote:
> Hi all,
>
> I had never thought that, but even on current versions of Windows there
> is a 260 character limit for file paths (see
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx).
> This means that each single file path passed as an argument (e.g. to
> compiler or linker) cannot be longer than 260 characters.
>
> Now with the new target structure introduced in Qbs 1.3 one can easily
> exceed this limit. In this version, the target structure is composed of
> these these parts (at least for MSVC):
>
> *D:\*<targetpath>*\*<profile>*-release\*<productname>*.*<profile>*\.obj\*<srcpath>*\*<filename>*.cpp.obj*

Can you name an example for <srcpath>?


Christian



More information about the Qbs mailing list