summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-04-03 11:49:27 +0200
committerLars Knoll <lars.knoll@qt.io>2020-05-05 18:41:10 +0200
commit52f3a7d9d40d3bf835bb0716ad201ee56731b980 (patch)
treea736d2cca2516f2ad2003ff28b34e7a8ff483cf6 /qmake/generators/makefile.h
parentae7e701074be97130aa45f780e2456981850b432 (diff)
Build qmake with QT_USE_STRINGBUILDER
Should improve performance and is going to be required in the future anyway. Change-Id: I89d7c50441d2491da1ab0a4d564dcc91f52ade85 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r--qmake/generators/makefile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h
index bae32883b4..b80b6e3e08 100644
--- a/qmake/generators/makefile.h
+++ b/qmake/generators/makefile.h
@@ -140,10 +140,16 @@ protected:
//escape
virtual QString escapeFilePath(const QString &path) const = 0;
ProString escapeFilePath(const ProString &path) const;
+ template<typename A, typename B>
+ QString escapeFilePath(const QStringBuilder<A, B> &path) const
+ { return escapeFilePath(QString(path)); }
QStringList escapeFilePaths(const QStringList &paths) const;
ProStringList escapeFilePaths(const ProStringList &paths) const;
virtual QString escapeDependencyPath(const QString &path) const;
ProString escapeDependencyPath(const ProString &path) const;
+ template<typename A, typename B>
+ QString escapeDependencyPath(const QStringBuilder<A, B> &path) const
+ { return escapeDependencyPath(QString(path)); }
QStringList escapeDependencyPaths(const QStringList &paths) const;
ProStringList escapeDependencyPaths(const ProStringList &paths) const;