[QBS] Target pathnames getting too long on Windows

Thomas Epting thomas.epting.stryker at gmail.com
Mon Sep 22 16:26:50 CEST 2014


> > 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>?

Consider source file and .qbs file residing in:
-
D:\projects\projectname\trunk\src\productname\modulename\foldername\subfoldername\classname.cpp
- D:\projects\projectname\trunk\src\productname\productname.qbs

Then <srcpath> results to:
- modulename\foldername\subfoldername

Note: We would typically place the target folder at:
- D:\projects\projectname\trunk\target

This doesn't sounds like too long names at the first glance, however they
may become much longer for specific project, product, module and class
names. (One of our developers has reached the limits already.)

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140922/5e357779/attachment.html>


More information about the Qbs mailing list