Don't add SDK change listener in start(), wait until symbianSDKManagerLoaded notification is received.
--- a/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtCorePlugin.java Tue Aug 31 10:54:44 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtCorePlugin.java Tue Aug 31 14:13:15 2010 -0500
@@ -58,7 +58,6 @@
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
- SDKCorePlugin.getSDKManager().addInstalledSdkChangeListener(this);
}
/*
@@ -129,7 +128,7 @@
* ISDKManagerLoadedHook extension implementation
*/
public void symbianSDKManagerLoaded() {
- scanForQtSDKs();
+ SDKCorePlugin.getSDKManager().addInstalledSdkChangeListener(this);
}
/**