[PySide] "Cannot find file" error on using pyside-rcc
Lucas Tanure
ltanure at gmail.com
Thu Jan 17 12:05:00 CET 2013
Hi ,
I'm used to it at Linux. What happends if you creates your file at Linux ?
I develop under Linux, and them test under Windows, and all works fine.
Lucas A. Tanure Alves
+55 (19) 88176559
On Thu, Jan 17, 2013 at 8:42 AM, Gerald Hofmair
<geraldhofmair at hotmail.com>wrote:
> 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
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130117/58acfc90/attachment.html>
More information about the PySide
mailing list