Hi Sascha, 

Thank you for your answer. 
I have some questions regarding bundles generation: 

- when I'm creating my mainApp bundle, I cannot uncheck the use GUI_SUPPORT 
option and this creates a view class in another repository/bundle ... If I 
uncheck the GUI_SUPPORT option then, the generated CMAKE files still embed 
references to Qt which causes CMAKE to not work. I will try to post some 
snapshots. 
- how are the dependencies in the bundle generator handled? I'm trying to use 
the required plugins option but I do not see the impact of it. In particular, 
my mainApp requires every include and dependencies repositories to be set by 
hand ... 
- concerning the workbench, I will basically have to generate a bundle and then 
modify by hand the CMAKE files and C++ files? 

I will come back to you if I have other questions that pop to my mind. 

Best regards, 

Tangi 

------------------------------------- 
Tangi MEYER 
Virtual and Augmented Reality 
System and Software Engineer 
Leuvensesteenweg 325 
B-1932 Zaventem - Belgium 
Telephone: +32 (0) 2 721 54 84 
Fax: +32 (0) 2 721 54 44 
------------------------------------- 

----- Original Message ----- 
From: "Zelzer Sascha" <[email protected]> 
To: "Tangi Meyer" <[email protected]>, "mitk-users" 
<[email protected]> 
Sent: Thursday, 11 February, 2010 17:43:05 GMT +01:00 Amsterdam / Berlin / Bern 
/ Rome / Stockholm / Vienna 
Subject: AW: [mitk-users] Creating my own app using the bundle generator. 




Hi Tangi, 



the link you cited should actually fit your workflow exactly. What the 
BundleGenerator cannot generate for you is a bundle containing ready to use 
Workbench advisor classes (as contained for example in 
org.mitk.gui.qt.application and org.mitk.gui.qt.extapplication). You would have 
to copy and paste these classes or write them on your one. 



You may find the documentation of the class WorkbenchAdvisor helpful: 



http://docs.mitk.org/nightly-qt4/BlueBerry/reference/api/html/classberry_1_1WorkbenchAdvisor.html
 



Don’t forget to add an extension to the org.blueberry.osgi.applications 
extension point in your plugin.xml file. 



Unfortunately, the documentation in the detailed description of the link above 
is not 100% up-to-date (we have some troubles with the nightly generation of 
the documentation right now). It misses the creation of a Display instance (see 
QmitkExtApplication for reference). 



I hope this helps, 



Sascha 






Von: Tangi Meyer [mailto:[email protected]] 
Gesendet: Donnerstag, 11. Februar 2010 16:11 
An: mitk-users 
Betreff: [mitk-users] Creating my own app using the bundle generator. 




Dear All, 

I would like to create my own application using my own workbench, e.g. having 
my own MyApp project relying on my own whatever.qt.myAppApplication . 
The same as ExtApp using org.mitk.qt.extapplication: 

extConfig->setString(berry::Platform::ARG_APPLICATION, 
"org.mitk.qt.extapplication"); 

I want this in a separate directory from MITK with my own bundles. 
I'm trying to use the bundle generator but without success so far 
(http://docs.mitk.org/nightly-qt4/NewPluginPage.html). 

Is there a page/tutorial where I can get more info? 

Best regards, 

Tangi 




------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to