make stubs for dangerous/useless qmake functions in limited mode
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Thu, 16 May 2013 13:21:20 +0000 (15:21 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 May 2013 12:43:21 +0000 (14:43 +0200)
commit94ab2efb2d155d3c1ca7b91c1daf443a149bcf1f
treea47acf24fe90a7c7ecb06b0bf01d0ca7ca7098d4
parentfb38f74b7e0b62cf5298f1a76e83fec008995156
make stubs for dangerous/useless qmake functions in limited mode

instead of having them "not implemented" (and consequently getting
errors), just let requires(), system(), mkpath(), write_file(), touch()
and cache() do nothing. this is likely to cause followup failures which
are harder to detect, but the amount of scary noise we are producing now
is not really acceptable. furthermore, in qtcreator these failures
actually terminate the "precise" evaluation, which breaks Run
Configurations.

Task-number: QTBUG-28159
Task-number: QTCREATORBUG-8550 (in different repo)
Change-Id: I1bdeb759e895e4200f09332dadf8a6cef348182f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
src/linguist/shared/qmakebuiltins.cpp
tests/auto/linguist/lupdate/tst_lupdate.cpp