simplify loop over modules
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 24 Feb 2012 18:20:00 +0000 (19:20 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Feb 2012 11:39:16 +0000 (12:39 +0100)
the earlier done topological sort already removes duplicates and only
works with lower-cased names anyway, so we can remove the overhead here.

Change-Id: I44fc39af9e94662717e1c8cfb0ddb87d2f597935
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
mkspecs/features/qt.prf

index b7da02e..6081342 100644 (file)
@@ -131,7 +131,7 @@ QT = $$sort_depends(QT, "QT.")
 QT_DEPENDS=
 
 unset(using_privates)
-for(QTLIB, $$list($$lower($$unique(QT)))) {
+for(QTLIB, QT) {
     # Figure out if we're wanting to use the private headers of a module
     contains(QTLIB, .*-private) {
         QTLIB ~= s/-private//