qt5base-lts/qmake
Tor Arne Vestbø f9d5d23508 qmake: Don't assume that GNUmake is able to resolve arbitrary dependencies
Extra compilers may define a depend_command that's used to generate
dependencies for each input. When GNUmake was enabled we failed to
run this command, which was affecting resource files, as resource
dependencies are handled by an extra compiler defined in resources.prf.

The result was that changes to resources included in a resources-file
did not trigger a re-run of qrc and subsequent recompile of the
resource object file.

We must always run these custom dependency commands, even when GNUmake
(and the extended gcc_MD_depends option) is enabled, as GCC is only able
to handle regular #include-type dependencies. Hence, the check for the
'include_deps' flag was removed from doDepends(), and the check for
GNUmake was moved to the one place where it still made sense -- when
deciding whether or not to do recursive dependency checking.

Change-Id: I5ddb75c873120c90f798808efc52e81500786301
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
2011-11-28 15:08:01 +01:00
..
generators qmake: Don't assume that GNUmake is able to resolve arbitrary dependencies 2011-11-28 15:08:01 +01:00
cachekeys.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
CHANGES Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp qmake: Replace Q_WS_WIN by Q_OS_WIN 2011-10-21 12:34:50 +02:00
Makefile.unix qmake: remove symbian support 2011-11-07 13:26:41 +01:00
Makefile.win32 fix makefiles again 2011-11-11 18:28:49 +01:00
Makefile.win32-g++ Windows: Adapt mkspec for MinGW / gcc 4.6. 2011-11-18 14:53:08 +01:00
Makefile.win32-g++-sh Windows: Adapt mkspec for MinGW / gcc 4.6. 2011-11-18 14:53:08 +01:00
meta.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
meta.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
option.cpp find qt.conf more reliably 2011-09-12 18:25:54 +02:00
option.h Added build system support for installing tests. 2011-11-23 00:13:46 +01:00
project.cpp qmake: remove symbian support 2011-11-07 13:26:41 +01:00
project.h inline resoveDepends() 2011-07-11 18:58:41 +02:00
property.cpp Added build system support for installing tests. 2011-11-23 00:13:46 +01:00
property.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qmake_pch.h qmake: Replace Q_WS_WIN by Q_OS_WIN 2011-10-21 12:34:50 +02:00
qmake.pri qmake: remove symbian support 2011-11-07 13:26:41 +01:00
qmake.pro qmake: remove symbian support 2011-11-07 13:26:41 +01:00