[Qbs] qbs, qmake and filename case sensitivity
Christian Gagneraud
chgans at gmail.com
Mon May 21 00:56:24 CEST 2018
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
More information about the Qbs
mailing list