I copied the PyQt4 folder
Which folder was this?
--
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/34928a32-9340-4429-aeec-d8de48cc849e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
When you use the dynamic uic module with Qt Designer UI files, it translates the xml format into a Python UI module and imports it. Part of this conversion is to also tranlate a reference to a resource qrc file into a python import statement. But what I don't think it is doing for you, is actually converting the qrc file. Forgive me, but I never really use the dynamic UI loading so I can't be certain, but that is my guess.
If you are going to use a qrc file, then I think you will need to convert it using the pyrcc tool from the command line. It is similar to using pyuic from the command line instead of dynamically at import. It expects you to use an output name of ploppy_rc.py
This will produce a module with all of your images encoded into it.
Now there may be the equivalent of a dynamic rcc module to do this at import, but I am not familiar with it. When I was still using Designer, I had always used the pattern of pre-generating my UI and rc files manually as they changed.
--
Hi Justin, thanks for the reply. I will give it a go without a qrc file and see if it works. Currently only using it for a ui icon, so not overly important right now.Do you use QTDesigner for a UI layout? If not, where/how do you create a ui for maya using Python.Many thanks
--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/cBSUHDF7-Ag/unsubscribe.
To unsubscribe from this group and all its topics, 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/85f95ba1-204c-4bb1-9cf9-371f6edbefe0%40googlegroups.com.
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/CAJ7OuxeA4qKMmfc6-2UuDoSb5sfswsQASb%3DUN%2BJazhKRDuPWsw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3P-CQmv5_oAsOASqTsotGYZ_C00PgpDhj9vtsy1tA7TQ%40mail.gmail.com.