Hi Sascha,
  thanks for this.

I have a few more questions, if I may.

1. One of my plugins now complains about not being registered. I get:

!1.280! [BlueBerry] WARNING: The class QmitkMIDASMultiViewEditor was not 
registered as an Extension Type using BERRY_REGISTER_EXTENSION_CLASS(type, 
pluginContext) or you forgot to run Qt's moc on the header file. Legacy 
BlueBerry bundles should use CreateExecutableExtension<C>(propertyName, 
C::GetManifestName()) instead.
[1.280] [BlueBerry] Trying to load class QmitkMIDASMultiViewEditor with 
manifest name berryIEditorPart from bundle uk.ac.ucl.cmic.gui.qt.common
[1.280] [BlueBerry] This bundle is not a legacy BlueBerry bundle. Cannot load 
classes from it.
!1.280! [BlueBerry] WARNING: Could not load executable extension 
QmitkMIDASMultiViewEditor from uk.ac.ucl.cmic.gui.qt.common

So, the plugin

uk.ac.ucl.cmic.gui.qt.common contains an editor QmitkMIDASMultiViewEditor which 
is in the uk.ac.ucl.cmic.gui.qt.common/src folder, the header file contains:

  Q_OBJECT
  Q_INTERFACES(ctkEventHandler)

the files.cmake contains:

SET(MOC_H_FILES
  src/QmitkMIDASMultiViewEditor.h

but this wasn't there beforehand..... so has anything changed that might affect 
it?


2. Also, after a re-build and a clean plugin cache, the first time the GUI 
starts it crashes. A restart then enabled the GUI to continue until it arrives 
at the problem above.  This is on Linux, and looks to me like the problem I 
showed you on a Mac whereby registering the .qch help files in unstable, but I 
havent yet found the problem.

Thanks ever so much.

Matt




On 9 Dec 2011, at 17:16, Sascha Zelzer wrote:

Hi MITK users,

We recently updated the CTK version used in MITK and also made some
build system improvements.

IMPORTANT: After a git update of MITK, you need to remove the
CTK_PLUGIN_LIBRARIES entry in your MITK-build/CMakeCache.txt file. You
probably also have to delete the MITK-build/MITK-ProjectTemplate* and
MITK-build/GeneratedTestProject* directories. This should avoid having
to do a complete clean rebuild of MITK. If you have your own projects
using CTK plug-ins, you will also have to remove the
CTK_PLUGIN_LIBRARIES from your CMakeCache.txt file(s).

For users of the MITK applications (like ExtApp and CoreApp):

 - There are now dedicated CMake build options to enable them. Look for
MITK_BUILD_APP_ExtApp etc.
 - Enabling one of the build options automatically enables the minimum
dependencies
 - You can enable any other plug-in to have it show up in the application


The information below is only relevant for people using MITK as an
external project in their own BlueBerry or pure CTK based applications:

Here is a short list of important changes:

- The CTK macro ctkMacroSetupExternalPlugins was renamed to
ctkMacroSetupPlugins. You have to adapt your calls to this macro.
- Creating executables which use BlueBerry got much easier. There is one
magic macro, called FunctionCreateBlueBerryApplication(). See for
example
https://github.com/MITK/MITK-ProjectTemplate/blob/master/Apps/AwesomeApp/CMakeLists.txt
for how it is used.

- The CTK macros now allow to validate the plug-in build options against
the plug-in requirements of your applications (these can be runtime
dependencies, not only link-time dependencies). See the
https://github.com/MITK/MITK-ProjectTemplate for how it is done, or the
actual commit here:
https://github.com/MITK/MITK-ProjectTemplate/commit/a7f0fb90af26030a042e37cf54f1248556fdce7d
.

- The MITK Plugin Generator has been updated to work with the above
changes and to generate compatible project stubs. You can use the new
binary from your MITK-build tree or wait a little bit for the release
package.

That's it for now. Ask questions or report any problems you encounter.

Thanks,

Sascha

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to