I've never used resource files without compiling them via rcc. When you use them in Designer, as you know, it will put a reference to them in your UI file. When you convert them to python via uic, it will expect the qrc to have also been compiled. I don't even know of there is a dynamic rcc operation that you can run which is similar to the uic you perform at runtime.
Maybe that boilerplate thing can be extended to suit your workflow and detect and perform the rcc at runtime before the uic happens. This would not be suitable for production, since it would be slower, and still require all the images to be present and the pathing to be correct. But it could at least suit the prototyping workflow you have chosen.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/b32eda9d-6071-4ed8-aa6e-1a0e5257d520%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We have duplicate threads here. ignore this thread and I will repaste in the original.