Hi Shaowen,
please keep the questions on the list, that way others can chip in as well.
Whether or not that can be achieved (with reasonable effort) depends on what
you want. Using functionality provided by any of the modules should work fine.
Integrating a plugin into your application is probably going to be more work. I
have never tried it, but in theory you could of course strip out any code
references to either CTK and BlueBerry, write your own base classes and so on…
but at that point it would be easier to just re-implement the plugin in your
own framework (plus that way the UI would fit in with your application style).
This might sound discouraging, however we strive to keep any actual
algorithms/data classes and so on in the modules. By not being able to use the
plugin you should generally only lose the UI and UI logic. You could just use
it as a template to write your own.
If anyone on the list has found a way to hack our plugin libraries directly
into their own application framework, please feel free to share.
Best,
Caspar
Von: shaowen li [mailto:armdlishao...@gmail.com]
Gesendet: Dienstag, 5. September 2017 03:34
An: Goch, Caspar Jonas
Betreff: Re: [mitk-users] #error: Missing preprocessor define US_MODULE_NAME
Yeah, I am the case 3. I draw a Qt GUI . I just want to call the MITK library
for using in my Qt GUI. Can it be achieved? Or we can only use the BlueBerry
and CTK to create an application.
Thank you,
Shaowen Li
2017-09-04 18:36 GMT+08:00 Goch, Caspar Jonas
<c.g...@dkfz-heidelberg.de<mailto:c.g...@dkfz-heidelberg.de>>:
Hi Shaowen,
we need more information to give you any reasonable advice. What exactly do you
mean, when you “creating your own application on Qt”:
1. You are using the MITK project template to create your own BlueBerry
based application?
2. You created a BlueBerry based application by copying MITK Workbench or
something similar.
3. You truly have your own Qt application not using BlueBerry or CTK at
all.
If 3 is the case there might be little advice we can offer, as using a
BlueBerry based plugin in a completely different application framework is not a
use case we support.
Best,
Caspar
Von: shaowen li [mailto:armdlishao...@gmail.com<mailto:armdlishao...@gmail.com>]
Gesendet: Montag, 4. September 2017 10:50
An: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: [mitk-users] #error: Missing preprocessor define US_MODULE_NAME
Hi,
Now I create my own application based on Qt , by calling the Mitk
liborg_mitk_gui_qt_igttracking.dll. But the Visual Studio report errors:
D:\MITK
16.11\MITK-Src\Modules\CppMicroServices\core\include\usGetModuleContext.h(27):
fatal error C1189: #error: Missing preprocessor define US_MODULE_NAME.
This kind of problem troubles me lots of days, could you give me some advice?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users