qt5base-lts/mkspecs/features
Tor Arne Vestbø ca572a6144 qmake: Allow extra compilers to have the makefile depend on its inputs
And enable this configuration option for the resource compiler. This
results in a re-run of qmake whenever you touch a qrc file, which is
needed to keep the dependencies up to date. Otherwise you might end
up in the situation where you add a file to a qrc, edit the file some
time later, but a rebuild does not regenerate a cpp file and compile
that, so the final binary is stale.

Technically this dependency problem is present for all source files,
and qrc files are no different than any cpp file that you add a new
header #include to, or adding a Q_OBJECT macro to a header. To pick
up these changes we have to re-run qmake, so that qmake can run its
internal dependency checking, and any extra compiler dependency
commands.

The reason we're making this change for rcc files it that conceptually
people treat them as a "project" files, and expect them to behave similarly
to .pro or .pri files, in that editing the file will invalidate the
makefile. In practice this is often what happens when adding new
headers, as you touch the project file when changing the HEADERS
variable.

Task-number: QTBUG-13334
Change-Id: If69149678e7fba6d812d31dcc17877427f9a6122
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-11-28 13:35:42 +01:00
..
mac Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qpa Merge remote-tracking branch 'base/master' into refactor 2011-06-10 13:09:57 +02:00
unix Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
win32 Changed path references to ActiveQt. 2011-04-27 12:05:56 +02:00
build_pass.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
dbusadaptors.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
dbusinterfaces.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
debug_and_release.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
debug.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
declarative_debug.prf Fixed CONFIG+=declarative_debug with QT+=declarative-private 2011-10-11 05:26:32 +02:00
default_post.prf Make it possible to disable the 'check' target 2011-11-16 10:32:10 +01:00
default_pre.prf mkspecs: Case-insensitive check of paths on Windows. 2011-11-18 14:53:19 +01:00
designer.prf Add QtTools' include/QtDesigner as well as QtCore's include/QtDesigner 2011-05-26 13:32:08 +02:00
dll.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
egl.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
exclusive_builds.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
help.prf Removed the unnecessary dependency of the QtHelp module on the QtXml one 2011-09-12 16:03:47 +02:00
include_source_dir.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
incredibuild_xge.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lex.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
link_pkgconfig.prf Make pkg-config cross-compile aware 2011-10-19 22:27:09 +02:00
moc.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
module.prf Fix framework absolute path issue 2011-05-04 15:55:51 +02:00
no_debug_info.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qdbus.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qmltestcase.prf Don't build app bundles for qmltestcase applications on Mac OS X 2011-10-25 05:03:08 +02:00
qt_config.prf Implemented module-local caching of module profiles. 2011-06-03 22:20:40 +02:00
qt_functions.prf Make v8 snapshots work in debug-and-release mode 2011-11-24 16:46:15 +01:00
qt_installs.prf mkspecs: Remove qpa conditionals. 2011-10-31 20:34:43 +01:00
qt_module_config.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
qt_module.prf Complain if we don't load(qt_module) first 2011-06-08 21:04:48 +02:00
qt_plugin.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
qt_targets.prf Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt.prf Add a -force-asserts option to configure 2011-11-11 12:24:48 +01:00
qtestlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtopia.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtopiainc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtopialib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qttest_p4.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
release.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
resolve_target.prf Add missing naming for libraries built statically. 2011-11-11 02:45:05 +01:00
resources.prf qmake: Allow extra compilers to have the makefile depend on its inputs 2011-11-28 13:35:42 +01:00
shared.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
silent.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
static_and_shared.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
static.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
staticlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
testcase.prf Improved usage of TESTDATA with relative paths beginning with ".." 2011-11-24 23:42:35 +01:00
testcocoon.prf Integrate testcocoon support into Qt build system. 2011-11-15 07:21:48 +01:00
uic.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
uitools.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
use_c_linker.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
vxworks.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_off.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_on.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
yacc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00