Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-04 Thread Braden Edmunds
Hi zonk, Ah okay. That worked. Thanks a bunch. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47554#47554 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Loading OSG resources from Qt QResource system

2012-05-03 Thread Martin Scheffler
Hi, has anyone tried loading textures, meshes etc from the Qt resource system? I am thinking about how best to distribute my resources with my application. Thank you! Cheers, Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47525#47525

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-03 Thread Torben Dannhauer
Hi Martin, I havend tried it, but usually you should be able to contruct QImages or QPixmaps with the resources identifier and then you cann pass the loaded data to OGL. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47531#47531

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-03 Thread Braden Edmunds
The only problem I've ran into is Qt can't find the plugins needed to load the textures. I have to build in visual studio to see any textures. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47534#47534

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-03 Thread Jean-Sébastien Guay
Hi Martin, has anyone tried loading textures, meshes etc from the Qt resource system? I am thinking about how best to distribute my resources with my application. I have loaded meshes (in .osg format) from Qt resources in the past, yes. In general as long as the plugin you want can accept a

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-03 Thread Torben Dannhauer
Hi Braden, I suppose you have distributed your Qt libraries but not the plugins. Qt compiles most image formats as plugin by default. Your VS is aware of the full Qt Installation, but maybe not your machine. In short, you have to distribute the Qt libs (qtroot/bin/*) as well as the image