Great, thanks. Yes thats clear. Also it looks like US_EXPORT_MODULE_ACTIVATOR no longer requires the module name. Matt
On 9 Dec 2014, at 12:03, Sascha Zelzer <[email protected]> wrote: > Hi Matt, > > you got me there. That was a breaking change which slipped through in the > release notes. I updated them accordingly > > http://mitk.org/wiki/MITK_ReleaseNotes_2014.10 > > There shouldn't be any other migration issues (unless we forgot another > one...). > > Long story short, have a look at this diff, which should clarify things: > > http://mitk.org/git/?p=MITK.git;a=blobdiff;f=Core/Code/Controllers/mitkPlanePositionManager.h;h=9c71be65fbbe77fdcaa9ea06c583ed49dae2e930;hp=cddb1e9f95c10f105a0bd6cd93caab6a2466f636;hb=8c23715eaa2a0037382bfa385b88e5d23ce88eef;hpb=6edf5ce33e859aceec12555419e9ee9924cd2feb > > Best, > Sascha > > > On 12/09/2014 11:06 AM, Clarkson, Matt wrote: >> Hi there, >> >> Im upgrading our code from MITK version 2014.03 to 2014.10. >> >> It looks like various changes to the micro services have been implemented >> (thanks!). >> Is there a migration document? Or a list of specific changes I should make? >> >> Im looking at the tutorial >> (http://docs.mitk.org/2014.10/MicroServices_Overview.html) and it seems to >> match what I have (which doesn’t now compile). So, is the tutorial the >> recommended way? Or does it need updating? >> >> Thanks >> >> Matt >> >> PS. More specifically, the current problem is pasted below, but I suspect I >> need to understand the changes in principal rather than just patch things up. >> >> [ 71%] Building CXX object >> Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/CMakeFiles/uk_ac_ucl_cmic_imagelookuptables.dir/src/internal/ImageLookupTablesViewActivator.cxx.o >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.cxx:15: >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.h:18: >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginActivator.h:25: >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginContext.h:25: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/QHash:1: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qhash.h:49: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qpair.h:45: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qdatastream.h:46: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qiodevice.h:46: >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qobject.h:378:34: >> error: no member named 'qt_check_for_QOBJECT_macro' in >> 'QmitkLookupTableProviderService' >> >> reinterpret_cast<T>(object)->qt_check_for_QOBJECT_macro(*reinterpret_cast<T>(object)); >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ >> /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginContext.h:469:12: >> note: in instantiation of function >> template specialization 'qobject_cast<QmitkLookupTableProviderService >> *>' requested here >> return qobject_cast<S*>(getService(reference)); >> ^ >> /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.cxx:75:57: >> note: >> in instantiation of function template specialization >> 'ctkPluginContext::getService<QmitkLookupTableProviderService>' requested >> here >> QmitkLookupTableProviderService* lutService >> =context->getService<QmitkLookupTableProviderService>(serviceRef); >> ^ >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.cxx:15: >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.h:18: >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginActivator.h:25: >> In file included from >> /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginContext.h:25: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/QHash:1: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qhash.h:49: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qpair.h:45: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qdatastream.h:46: >> In file included from >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qiodevice.h:46: >> /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qobject.h:380:56: >> error: no member named 'staticMetaObject' in >> 'QmitkLookupTableProviderService' >> return >> static_cast<T>(reinterpret_cast<T>(object)->staticMetaObject.cast(object)); >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ >> 2 errors generated. >> make[2]: *** >> [Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/CMakeFiles/uk_ac_ucl_cmic_imagelookuptables.dir/src/internal/ImageLookupTablesViewActivator.cxx.o] >> Error 1 >> make[1]: *** >> [Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/CMakeFiles/uk_ac_ucl_cmic_imagelookuptables.dir/all] >> Error 2 >> make: *** [all] Error 2 >> >> >> >> ------------------------------------------------------------------------------ >> 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
