# HG changeset patch # User John Dean # Date 1266439921 28800 # Node ID a514fb7b20325906dcc31cd52a8e2c59e1e2584e # Parent 7876696931666e7678018f69657e3e39b84d8a69# Parent e3db0fe33733f68dace8c791ebdeaaa161da6a08 Merging heads diff -r 787669693166 -r a514fb7b2032 qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtSDKUtils.java --- a/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtSDKUtils.java Wed Feb 17 12:51:20 2010 -0800 +++ b/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtSDKUtils.java Wed Feb 17 12:52:01 2010 -0800 @@ -17,14 +17,17 @@ import java.util.List; import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; import org.eclipse.core.runtime.QualifiedName; import org.eclipse.jface.preference.IPreferenceStore; import com.nokia.carbide.cpp.sdk.core.ISymbianSDK; import com.nokia.cpp.internal.api.utils.core.HostOS; +import com.nokia.cpp.internal.api.utils.core.Logging; import com.trolltech.qtcppproject.QtProjectPlugin; import com.trolltech.qtcppproject.preferences.PreferenceConstants; @@ -160,6 +163,11 @@ store.setValue(PreferenceConstants.QTVERSION_DEFAULT, count); } + ResourcesPlugin.getPlugin().getLog().log(Logging.newStatus(QtCorePlugin.getDefault(), + IStatus.INFO, + "New Qt-Symbian SDK added to Qt global preferences: " + name, //$NON-NLS-1$ + null)); + store.setValue(PreferenceConstants.QTVERSION_COUNT, count + 1); // # of table items, base is 1 (i.e. not zero) refreshQtStoredSDKs();