fix bug 11170. Don't add pkg to sis builder for WINSCW
authortimkelly
Fri, 23 Apr 2010 13:46:26 -0500
changeset 1272 12890c0d8bfd
parent 1270 ad41cb5ef65f
child 1274 d2ec5b43969e
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:41:51 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/QtUIPlugin.java	Fri Apr 23 13:46:26 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$
 				}