adjust deployment.pri to DEPLOYMENT variable changes in Qt 5

X.sources has been deprecated in Qt 4.8.0 and removed in Qt 5.

Change-Id: I3d5228bd6db6d3eaccd76fc49e9b934263f9922c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
Joerg Bornemann
2012-07-02 16:33:42 +02:00
parent 3ddb1fb782
commit b1888c76ba

View File

@@ -7,7 +7,11 @@
defineTest(qtcAddDeployment) {
for(deploymentfolder, DEPLOYMENTFOLDERS) {
item = item$${deploymentfolder}
itemsources = $${item}.sources
greaterThan(QT_MAJOR_VERSION, 4) {
itemsources = $${item}.files
} else {
itemsources = $${item}.sources
}
$$itemsources = $$eval($${deploymentfolder}.source)
itempath = $${item}.path
$$itempath= $$eval($${deploymentfolder}.target)