Hello again,

I’ve created a plugin and would like to load an STL file located in
the 'resources/stl' folder within the plugin. I'm attempting to load
the STL by passing the resource path (e.g.,
:/org.mitk.customplugin/stl/my_stl.stl) to
'mitk::IOUtil::Load<mitk::Surface>'.

However, I'm getting the following error:
"Description File: :/org.mitk.customplugin/stl/my_stl.stl does not exist"

The strange part is that when I check the resource using
'QFile::exists', it confirms that the file exists. Could this be an
issue with 'IOUtil::Load' not supporting Qt resource file paths?

Thanks for any help!

Best,
Mujassim


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to