qmake: remove support for X.sources in DEPLOYMENT variables

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>
This commit is contained in:
Joerg Bornemann 2012-07-02 15:21:15 +02:00 committed by Qt by Nokia
parent fa00407acf
commit ee4f32acfa

View 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;