Hello, I think maybe this is a bit above my competence. You may check out the initiative to blend SWT and QtJambi, see these links:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=20486 http://code.google.com/a/eclipselabs.org/p/swtqt/ Best regards, Helge Fredriksen On 09/21/2010 03:49 PM, kfk wrote: > On 9/21/2010 3:30 AM, Helge Fredriksen wrote: >> Eclipse MDI area? Please elaborate. QtJambi offers it's own MDI >> approach through the QtMdiArea class. >> >> Helge F. >> >> On 09/20/2010 03:52 PM, kfk wrote: >>> does anyone know if I can have MyWidget to be parented to eclipse >>> mdi area. >>> >>> >>> >>> public class MyWidget extends QWidget { >>> >>> public MyWidget(QWidget parent) >>> { >>> } >>> >>> public static void main(String[] args) { >>> QApplication.initialize(args); >>> MyWidget view = new MyWidget(null); >>> view.show(); >>> QApplication.exec(); >>> } >>> } >>> >>> _______________________________________________ >>> Qt-jambi-interest mailing list >>> [email protected] >>> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest >> >> > Hi Helge, > > Thanks for your prompt response. > I want to make one of our libraries(qt based) be available for people > to use as a plugin in eclipse. > > As a first step and a proof of concept. > I have to create a simple qtjambi based plugin for eclipse. Needless > to say I want this qt_jambi_plugin_view to open inside of eclipse and > not be a popup. > > I do not have sufficient knowledge to know how to, if possible, to > parent jambi_QWidget to eclipse mdiarea. > > I very much appreciate you help. > > One more quick question: > I still have problems having my qt_jambi based plugin open as a popup > widget when used as a plugin. I am missing dependencies and having > problems finding the place to specify them in eclipse. > > When plugin is loaded I get this warning: > The extensions and extension-points from the bundle "com.trolltech.qt" > are ignored. The bundle is not marked as singleton. > > after i execute it by clicking on a tool button i get the expected > result Erorr: > java.lang.NoClassDefFoundError: com/trolltech/qt/gui/QApplication > at plugin_foo.actions.MyAction..... > > > Here is my MANIFEST.MF any ideas. > > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 > Bundle-Name: Plugin_foo > Bundle-SymbolicName: plugin_foo; singleton:=true > Bundle-Version: 1.0.0.qualifier > Bundle-Activator: plugin_foo.Activator > Require-Bundle: org.eclipse.ui, > org.eclipse.core.runtime, > com.trolltech.qtjambi;bundle-version="1.2.0", > com.trolltech.qt;bundle-version="1.2.0" > Bundle-ActivationPolicy: lazy > Bundle-RequiredExecutionEnvironment: JavaSE-1.6 > > > > > > > > > _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
