[Qbs] qbs, qmake and filename case sensitivity

NIkolai Marchenko enmarantispam at gmail.com
Mon May 21 08:57:23 CEST 2018


Sadly, I think the way Qbs does it is correct.
These subtle naming errors are better found early before they mess up
something when you try to use the project outside the "helpful" build
system as you have just found out.
It's better to fix these early than frantically search for problems when
time is critical.

On Mon, May 21, 2018 at 1:56 AM, Christian Gagneraud <chgans at gmail.com>
wrote:

> Hi there,
>
> In a mixed Linux/Windows environment, qmake seems to deal with
> filename case sensitivity automagically.
> I have a '.pro' file that contains say FOOBar.ccp, but on disk - on
> Linux, FOOBar.cpp doesn't exists and FooBar.cpp does.
> QMake magically generates a Makefile file with FooBar.cpp instead of
> FOOBar.cpp, and the build passes.
>
> This '.pro' file is automatically generated from Visual Studio
> solution and project files using in-house python scripts, which means
> that the 'error' is inside vcxproj files but as Windows doesn't care
> about case sensistivity, it is not a problem - on Windows.
>
> Using this system of python scripts, i'm now generating 'qbs' files,
> the Qbs file contains 'FOOBar.cpp, and this time Qbs - on Linux -
> complains (rightly) that FOOBar.cpp doesn't exist.
>
> I am not sure what is the best behaviour:
> - QMake being convenient.
> - Qbs being strict.
>
> Should Qbs mimic what qmake does?
>
> Chris
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20180521/e86e72f8/attachment.html>


More information about the Qbs mailing list