qt5base-lts/tests/auto/tools/qmake/testdata
Simon Hausmann 0c0c04b405 Fix semantics of the src dir in the include search paths with MinGW
This issue originates from https://bugs.webkit.org/show_bug.cgi?id=95736

Suppose we have
    main.cpp
    somedirectory/someheader.h -- which has #include "anotherheader.h"
    anotherheader.h

With unix generator, the directory where main.cpp is located is included,
unless no_include_pwd is set. Hence the look-up of anotherheader.h from
within someheader.h will work.

With MSVC this works because MSVC looks "in the directories of any
previously opened include files in the reverse order in which they were
opened." (from http://msdn.microsoft.com/en-us/library/36k2cdd4.aspx)

Unfortunately the build breaks with MinGW, because it lacks support for
including the source directory in the include search path just like the
unix generator does.

This patch adds the same functionality to the MinGW generator as well as
an auto-test.

Change-Id: Iea8bb06e34862c51b8fd4eca2ee26668e24a319a
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-09-10 14:09:45 +02:00
..
bundle-spaces Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
comments Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
duplicateLibraryEntries Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
export_across_file_boundaries Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
findDeps Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
findMocs Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
func_export Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
func_variables Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
functions Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
include_dir Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
include_dir_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
include_function Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
include_pwd Fix semantics of the src dir in the include search paths with MinGW 2012-09-10 14:09:45 +02:00
install_depends Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
one_space Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
operators Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
project Auto test for 'qmake -project' use case. 2012-09-04 10:30:33 +02:00
prompt Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
quotedfilenames Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
shadow_files Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
shadow_files_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
simple_app Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
simple_app_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
simple_dll Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
simple_lib Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
subdir_via_pro_file_extra_target Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
subdirs Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
substitutes Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
substitutes_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
variables Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00