On 05/06/2011 02:13 PM, Marius Erdt wrote:

[...]
>
> This file is loaded during startup of the application. There are three 
> possibilities (see bug #3701):
> 1. Load from mitk/Core/Code/Interaction/Statemachine.xml (done e.g. by Tests)
> 2. Load from file (filename given) (done by tutorial)
> 3. Load from Qt resource in 
> mitk/CoreUI/Bundles/org.mitk.gui.qt.common/resources/Statemachine.xml (done 
> by MITK via activator / BlueBerry based)
> (There will only be one statemachine.xml after the bug is closed.)
>
>
> Now what confuses me, is that I renamed the statemachine.xml at location
> 1. and 3. and still, all statemachines of all plugins work. I'm not
> sure, what option 2 is though, since I didn't find anything in the tutorial.
>

Hi Marius,

CMake unfortunately doesn't generate a dependency from the qrc (Qt 
resource) files to its contents. So if you just rename the 
statemachine.xml file the resource is still compiled in. If you would do 
this with a "fresh" checkout you would probably get some build errors 
about missing resources.

Marco

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to