Rotislav,

I had the same problem in my application. The quick and dirty solution I 
found was the following:

I added the module in question explicitly (MitkSegmentation in my case) 
in org.mitk.gui.qt.datamanager\CMakeLists.txt

project(org_mitk_gui_qt_datamanager)

MACRO_CREATE_MITK_CTK_PLUGIN(
   EXPORT_DIRECTIVE MITK_QT_DATAMANAGER
   EXPORTED_INCLUDE_SUFFIXES src
   MODULE_DEPENDS MitkQtWidgetsExt MitkSegmentation)

But I´m sure the MITK experts will give you a better approach.

best regards,
sebastian

On 03/12/2014 12:13 p.m., Rostislav Khlebnikov wrote:
> Hi guys,
>
> I am still working with 2014.03 release, but I doubt this has been
> changed in 2014.10, so I will ask my question.
> How can I force the plugin framework to load the plugins at start? The
> reason for this is that plugins initialize some writers and readers for
> my data types as well as some actions for the data manager - and I want
> them to be available without user having to open any views.
> I used to have plugin activation policy set to eager, but then the
> "normal" plugins were activated before my application plugin (the one
> that creates and runs workbench) which in turn led to activation of
> org.mitk.gui.qt.common which relies on workbench already being created.
> So all this led to problems when application was running.
> So I would like to have the "application plugin" force the loading of
> "normal plugins". Is there a way to do this?
>
> Thank you,
>      Rostislav.
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to