summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-09-18 10:44:21 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-11-09 19:13:48 +0200
commit632da28e9ca1d67639f60e4c20ca54b38ae10dcd (patch)
tree3927e1ab212ef28c37df25d5b5f75b0478d6a6e4 /qmake/generators/makefile.h
parentff170962d460aafea93373f8c2391716d199adb9 (diff)
Add new way to mess up projects with QMAKE_INSTALL_REPLACE
Qmake supports currently: * QMAKE_PRL_INSTALL_REPLACE, * QMAKE_LIBTOOL_INSTALL_REPLACE * QMAKE_PKGCCONFIG_INSTALL_REPLACE Introduce QMAKE_INSTALL_REPLACE, where more sed magic can be put in action in more generic manner. replace_foo.filename = foo.h replace_foo.matches = /bad/looking/path/to/foo replace_foo.replace = /awesome/looking/path/to/foo QMAKE_INSTALL_REPLACE += replace_foo Pick-to: 5.15 Task-number: QTBUG-87154 Change-Id: Ie43d0ab4f1d4575bbf6279eb36383f38047484d9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r--qmake/generators/makefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h
index b8bd489e4f..b9f80f5a69 100644
--- a/qmake/generators/makefile.h
+++ b/qmake/generators/makefile.h
@@ -258,7 +258,7 @@ public:
protected:
QString fileFixify(const QString &file, FileFixifyTypes fix = FileFixifyDefault, bool canon = true) const;
QStringList fileFixify(const QStringList &files, FileFixifyTypes fix = FileFixifyDefault, bool canon = true) const;
- QString createSedArgs(const ProKey &replace_rule) const;
+ QString createSedArgs(const ProKey &replace_rule, const QString &file_type = QString()) const;
QString installMetaFile(const ProKey &replace_rule, const QString &src,
const QString &dst) const;