Thank you Sebastian and all, but this is rather about plugins and not modules. There are several things I do in plugin activators - including context menus, data node icons and other simlar stuff, which also at least partially depends on Qt stuff and thus should be rather put in plugin and not module.
Seems like this bug was also found before - http://bugs.mitk.org/show_bug.cgi?id=11715, but the solution put up there doesn't work for me as I don't have stdmultiwidgeteditor dependency. I would love to try the new build, but unfortunately, as usual, tomorrow there is a demo and I have no time to do the proper merge. So again, if you have any suggestions for a workaround, please let me know. Thank you, Rostislav. On 03/12/2014 15:39, Sebastian Ordas wrote: > 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
