qt5base-lts/tests/auto/tools/qmake
Oswald Buddenhagen e07372ff50 fix host vs. makefile directory separator mess
the system path separator and shell are bound to the host system
(system() will use cmd even on mingw with sh.exe in path).
the makefiles otoh may depend on what the qmakespec defines.

consequently, add $$system_path() and $$system_quote() (for use with
system() & $$system()). $$native_path() is renamed to $$shell_path() and
should be used with $$shell_quote() to produce command lines in
makefiles.
$$QMAKE_DIR_SEP needs to be applied to Option::dir_sep right after
parsing the spec, so it is available to $$shell_{path,quote}().

Change-Id: If3db4849e7f96068cf03a32348a24f3a72d6292c
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2012-07-28 00:09:45 +02:00
..
testdata fix host vs. makefile directory separator mess 2012-07-28 00:09:45 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
qmake.pro Marked tst_qmake as parallel-safe 2012-05-29 09:39:18 +02:00
testcompiler.cpp Fix some compiler warnings in tests. 2012-03-27 16:35:39 +02:00
testcompiler.h make qmake test suite a tad more verbose on failure 2012-02-27 20:52:45 +01:00
tst_qmake.cpp add $$shadowed() function 2012-06-19 16:39:56 +02:00