Hello!

I'm trying to compile a bunch of icons into a resource module with pyside-rcc, 
but the resource compiler can't find the files, or so it seems.

What I did:
1) I created a qrc file with Qt Designer, adding several 128x128 png icons from 
the oxygen icon distribution.
2) I executed "pyside-rcc -o OxygenIcon.py OxygenIcon.qrc"

For every icon in the qrc, I receive the following error: "Cannot find file: 
C:/path/to/oxygen/128x128/actions/address-book-new.png"
At the end, there is another error: "No resources in resource description"

My System:
Windows 7 64bit
Python 2.7.1 32bit
PySide version 1.1.2 win32
Qt 4.8.4 mingw

What am I missing? I'm sorry if this is a stupid question, I'm new to Qt, but I 
really like it so far. I'd be very grateful for suggestions what I could try to 
make this work.

What I've tried so far:
*) replace all the slashes in the paths in the qrc file with backslashes -> 
results in the same errors, but with backslashes in the path, e.g. "Cannot find 
file: C:\path\to\oxygen\128x128\actions\address-book-new.png"
*) rename the file extension in the qrc file to uppercase -> results in the 
same errors, but with uppercase file extensions, e.g. "Cannot find file: 
C:/path/to/oxygen/128x128/actions/address-book-new.PNG"
*) Searching the web and documentation for clues

Regards,
Gerald

                                          
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to