Hi Wojcieh,
for creating a new project we recommend the project template[1] instead of the
plugin generator.
You should be able to use your own application plugin as PROP_APPLICATION, but
you do not need this to add only a plugin to the MITK Workbench[2]
It might be useful to know your intentions regarding a custom application more
explicitly to give you better advise.
For interactions check out[3,4,5].
Best,
Caspar
[1] https://github.com/MITK/MITK-ProjectTemplate
[2] http://docs.mitk.org/nightly/NewPluginPage.html
[3] http://docs.mitk.org/nightly/DataInteractionPage.html
[4]
https://github.com/MITK/MITK-ProjectTemplate/blob/master/Modules/MyAwesomeLib/resource/Interactions/Paint.xml
[5]
https://github.com/MITK/MITK-ProjectTemplate/blob/master/Modules/MyAwesomeLib/src/AwesomeImageInteractor.cpp
Von: Wojciech Lassmann [mailto:[email protected]]
Gesendet: Freitag, 3. Februar 2017 00:59
An: [email protected]
Betreff: Re: [mitk-users] Using mitk as a library
Dear Caspar, thank you for your reply.
For my purposes it would be ideal if I could just use minimal application and
fill it with content like, but i have problem.
First i build the superbuild last stable release using qt creator with gcc 4.9
and qt 5.5.
Than using a plugin generator i start a new project unsign superbuild, add the
path to MITK, compile, run.
The full application pops in.
I try to change the "org.mitk.qt.extapplication" in line (application/int main):
myApp.setProperty(mitk::BaseApplication::PROP_APPLICATION,
"org.mitk.qt.extapplication");
into anything else (for example "org.mycompany.myplugin",
"org.mitk.gui.qt.application"), but when i do, I get
"Application launch failed: Application Exception: No application id has been
found."
Can I change "example application" into minimal application, and than just add
content (from "org.mycompany.myplugin") to it?
Sorry if this question seems gullible, but, i just don't see a way how to do it
in documentation.
and for the 3D controll, mouse seems just insufficient (inconvenient), I would
like to add additional keyboard, gamepad, other hardwere controller, would this
be possible?
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users