Hello,
I've been struggling to get Qt Views working in Carbide 2.0.4 (Build v200905221036_65), and so far without success. The failing views are:
- Qt C++ Property Editor
- Qt C++ Widget Box
Curiosly enough, the QtC++ Action and QtC++ signal (amongst other) do not yield any errors.
They don't work in 'clean vanilla' setup (i.e. without 5.0 and/or Qt Tower SDKs installed), and problems remain the same after installing the SDKs and needed components.
I am however able to write Qt projects and compile them (at least for emulator), that is without the aforementioned views (which need to be closed due to annoying error reports).
----- Here's what the problems look like:
Open Carbide++ -> enable the aforementioned views, if not readily visible, from the Windows -> Show View ... menu.
- Qt C++ Property Editor: "Problem Occured" popup is produced, yielding a java.lang.IndexOutOfBoundsException. Popup comes everytime I click any frame in the carbide.
- Qt C++ Widget Box: No popup is produced, but the View tab shows a text: "Could not create the view: Index: 2, Size: 0" and a Details button.
Looking at the Error Log tab, it reports this kind of problems:
1. Unable to create view ID com.trolltech.qtcppdesigner.views.widgetboxview: Index: 2, Size: 0
java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.trolltech.qtcppdesigner.views.embedded.WidgetBoxW.setBoxEnabled(WidgetBoxW.java:101)
at com.trolltech.qtcppdesigner.views.WidgetBoxView.createPartControl(WidgetBoxView.java:53)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
2.
org.eclipse.swt.SWTException: Class ID not found in registry
at org.eclipse.swt.ole.win32.OLE.error(OLE.java:317)
at org.eclipse.swt.ole.win32.OLE.error(OLE.java:283)
at org.eclipse.swt.ole.win32.OleControlSite.<init>(OleControlSite.java:96)
at com.trolltech.qtcppdesigner.views.embedded.PropertyEditorW.<init>(PropertyEditorW.java:35)
at com.trolltech.qtcppdesigner.views.PropertyEditorView.createPartControl(PropertyEditorView.java:49)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
3. etc. similar messages many times.
----- /end how problem looks like
I wonder what wrong am I doing with the Carbide... Normal Symbian projects work just fine with the installation. I reinstalled already everything once, without success. As far as I'm aware, I've tried to comply with all installation instructions.
Any suggestions where to look at? Am I missing some DLLs?
Deepest bows for help,
-j





