291 devicePath = epocRoot() + "epoc32\\winscw\\" + devicePath.remove(1, 1); |
291 devicePath = epocRoot() + "epoc32\\winscw\\" + devicePath.remove(1, 1); |
292 } else { |
292 } else { |
293 devicePath = epocRoot() + "epoc32\\winscw\\c" + devicePath; |
293 devicePath = epocRoot() + "epoc32\\winscw\\c" + devicePath; |
294 } |
294 } |
295 } else { |
295 } else { |
296 // Drive letter needed if targetpath contains one and it is not already in |
296 //The logic of the calling the initProjectDeploySymbian function depends only |
|
297 //from devicePathHasDriveLetter in pro files. |
297 //:QTP:QTPROD-92 Deployment of plugins requires WINSCW build before ARM build |
298 //:QTP:QTPROD-92 Deployment of plugins requires WINSCW build before ARM build |
298 if (targetPathHasDriveLetter && !devicePathHasDriveLetter) { |
299 if (!devicePathHasDriveLetter) { |
299 //temporary fix for Raptor building for plugins |
300 if (targetPathHasDriveLetter) { |
300 if (devicePath.indexOf("plugins", Qt::CaseInsensitive) != -1) { |
301 // Drive letter needed if targetpath contains one and it is not already in |
301 devicePath = deploymentDrive + "\\epoc32\\data\\z" + devicePath; |
302 if (devicePath.indexOf("plugins", Qt::CaseInsensitive) != -1 && !platform.compare("armv5") ) { |
302 } else { |
303 //For plugin deployment under ARM no needed drive letter |
303 devicePath = deploymentDrive + devicePath; |
304 devicePath = epocRoot() + "epoc32\\data\\z" + devicePath; |
304 } |
305 } else { |
|
306 devicePath = deploymentDrive + devicePath; |
|
307 } |
|
308 } else { |
|
309 // Only deployment for ARM need full path for the deployment |
|
310 if (devicePath.indexOf("plugins", Qt::CaseInsensitive) != -1 && !platform.compare("armv5") ) { |
|
311 devicePath = epocRoot() + "epoc32\\data\\z" + devicePath; |
|
312 } |
|
313 } |
|
314 |
305 } else { |
315 } else { |
306 devicePath = epocRoot() + "epoc32\\data\\z" + devicePath; |
316 //it is necessary to delete drive letter for ARM deployment |
307 } |
317 if (!platform.compare("armv5")) { |
|
318 devicePath.remove(0,2); |
|
319 devicePath = epocRoot() + "epoc32\\data\\z" + devicePath; |
|
320 } |
|
321 } |
308 } |
322 } |
309 } |
323 } |
310 |
324 |
311 devicePath.replace(QLatin1String("/"), QLatin1String("\\")); |
325 devicePath.replace(QLatin1String("/"), QLatin1String("\\")); |
312 |
326 |