From 50e22c765343102c4e0acf1eee8a6ce6f6f39ccf Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 13 May 2016 16:53:01 +0200 Subject: add $$sorted() function. [ChangeLog][qmake] Added $$sorted() function. Change-Id: Ic069d3ef7c0b7a260c714c76eecc71c41417d01f Reviewed-by: Leena Miettinen Reviewed-by: Joerg Bornemann Reviewed-by: Lars Knoll Reviewed-by: Martin Smith --- qmake/library/proitems.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qmake/library/proitems.h') diff --git a/qmake/library/proitems.h b/qmake/library/proitems.h index db5ad7c82b..16dd9386c8 100644 --- a/qmake/library/proitems.h +++ b/qmake/library/proitems.h @@ -100,6 +100,7 @@ public: bool operator!=(const QString &other) const { return !(*this == other); } bool operator!=(QLatin1String other) const { return !(*this == other); } bool operator!=(const char *other) const { return !(*this == other); } + bool operator<(const ProString &other) const { return toQStringRef() < other.toQStringRef(); } bool isNull() const { return m_string.isNull(); } bool isEmpty() const { return !m_length; } int length() const { return m_length; } -- cgit v1.2.3