qt5base-lts/mkspecs
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
..
aix-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-xlc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-xlc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
common Define __GNUC__ to be 4 on Mac OS X 2011-11-14 23:42:17 +01:00
cygwin-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
darwin-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
features qmake: Allow extra compilers to have the makefile depend on its inputs 2011-11-28 13:35:42 +01:00
freebsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-g++34 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-g++40 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc-o64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-acc-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-acc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hurd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-cc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-cxx Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-ecc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-maemo Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-kcc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-llvm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-lsb-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-pgcc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
lynxos-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++40 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++42 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-llvm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-pbuilder Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-xcode Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-xlc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
modules remove generated files 2011-07-07 11:15:58 +02:00
netbsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
openbsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sco-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sco-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-64-stlport Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-stlport Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tru64-cxx Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tru64-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unixware-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unixware-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unsupported Resolve a number of compilation issues with INTEGRITY 2011-11-18 12:11:44 +01:00
win32-borland Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-g++ Windows: Adapt mkspec for MinGW / gcc 4.6. 2011-11-18 14:53:08 +01:00
win32-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-msvc2003 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-msvc2005 Revert "Fixed deployment problems with MSVC 2005 and 2008 SP1" 2011-11-04 12:37:27 +01:00
win32-msvc2008 Revert "Fixed deployment problems with MSVC 2005 and 2008 SP1" 2011-11-04 12:37:27 +01:00
win32-msvc2010 Build Qt with option -Zc:wchar_t under MSVC 2011-06-27 19:09:33 +02:00
wince50standard-armv4i-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-armv4i-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsii-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsii-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsiv-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsiv-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-sh4-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-sh4-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-x86-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-x86-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince60standard-armv4i-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince60standard-x86-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50pocket-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50pocket-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50smart-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50smart-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60professional-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60professional-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60standard-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60standard-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm65professional-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm65professional-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00