qmake: remove support for X.sources in DEPLOYMENT variables
authorJoerg Bornemann <joerg.bornemann@nokia.com>
Mon, 2 Jul 2012 13:21:15 +0000 (15:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jul 2012 22:44:55 +0000 (00:44 +0200)
This has been deprecated in Qt 4.8.0. Use X.files instead.

Task-number: QTBUG-3216
Task-number: QTBUG-25106

Change-Id: I581321591291118a13403e92da5997497e12c3fd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
qmake/generators/win32/msvc_vcproj.cpp

index 606fee6..d51c774 100644 (file)
@@ -1174,9 +1174,8 @@ void VcprojGenerator::initDeploymentTool()
             // create output path
             devicePath = Option::fixPathToLocalOS(QDir::cleanPath(targetPath + QLatin1Char('\\') + devicePath));
         }
-        // foreach d in item.sources
-        // ### Qt 5: remove .sources, inconsistent with INSTALLS
-        foreach(QString source, project->values(item + ".sources") + project->values(item + ".files")) {
+        // foreach d in item.files
+        foreach (QString source, project->values(item + ".files")) {
             QString itemDevicePath = devicePath;
             source = Option::fixPathToLocalOS(source);
             QString nameFilter;