invert the output order of $$resolve_depends()
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 11 Jul 2011 15:13:19 +0000 (17:13 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 11 Jul 2011 16:58:41 +0000 (18:58 +0200)
it needs to go from highest order to lowest order.
that's not relevant unless doing static linking.

Change-Id: Ieb69e3949b4d9cc2d2a62f5661f31e3dc88ac882
Reviewed-on: http://codereview.qt.nokia.com/1454
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
qmake/project.cpp

index f6a4520..feff736 100644 (file)
@@ -1815,7 +1815,7 @@ void calculateDeps(QStringList &sortedList, const QString &item, const QString &
     }
 
     if (org.contains(item)) {
-        sortedList += item;
+        sortedList.prepend(item);
         org.removeAll(item);
     }
 }