fix bug 11170. Don't add pkg to sis builder for WINSCW. RCL_2_4
authortimkelly
Fri, 23 Apr 2010 13:43:04 -0500
branchRCL_2_4
changeset 1271 6a0e8b610695
parent 1269 6cad88a59c38
child 1273 dcb72c9e2126
fix bug 11170. Don't add pkg to sis builder for WINSCW.
qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/QtUIPlugin.java
--- a/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/QtUIPlugin.java	Fri Apr 23 11:37:46 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/QtUIPlugin.java	Fri Apr 23 13:43:04 2010 -0500
@@ -102,7 +102,7 @@
 				IFile file = project.getFile(project.getName() + underscore + config.getPlatformString().toLowerCase() +
 						underscore + config.getTargetString().toLowerCase() + ".pkg"); //$NON-NLS-1$
 				
-				if (file == null || !file.exists() && config.getPlatformString() != ISymbianBuildContext.EMULATOR_PLATFORM) { 
+				if (file == null || !file.exists() && !config.getPlatformString().equals(ISymbianBuildContext.EMULATOR_PLATFORM)) { 
 					// Qt 4.6 only creates one PKG file per project. Do not add for WINSCW 
 					file = project.getFile(project.getName() + underscore + template + ".pkg"); //$NON-NLS-1$ 
 				}