[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] query on pyqt panel
From:       Selim Tuvi <selim.tuvi () dreamworks ! com>
Date:       2014-01-31 18:04:38
Message-ID: CAJoAfVJaLNGCmjXO=uu2N+c0DB5VGtb9d=rd0riQic-TuVjcZQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Providing just the .qrc file is not sufficient. You need to convert it to a
python module using pyrcc4 as follows:

pyrcc4 Image.qrc -o Image_rc.py



On Sun, Jan 26, 2014 at 9:39 AM, Pankaj Gupta <pankaj@gaurishiv.org> wrote:

> Hi All,
>
> I am stuck with a problem. I have designed a UI using PyQT4 . I have used
> feq images on icons and on buttons. I have converted the ui file to
> corresponding .py file. using pyuic4 command.  Even the execution of
> command is proper even it didn't throws any warning message.
> Now the problem comes when I tried running converted .py file on machine.
> it is searching for a library "Image_rc" in one of the import statement. I
> am not able locate this module. even I don't know how to create the module.
> Please help on this.
> please find attached ui file, converted.py file and .qrc file along with
> the images along with this mail.
>
> Waiting for your reply.
>
>  --
> Thanks with Regards:
> Pankaj Kumar Gupta
> Bangalore,Karnatka
> cell: *+91-9035486588 <%2B91-9035486588>*
>
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Providing just the .qrc file is not sufficient. You need to \
convert it to a python module using pyrcc4 as follows:<br><br></div>pyrcc4 Image.qrc \
-o Image_rc.py<br><br></div><div class="gmail_extra"><br>

<br><div class="gmail_quote">On Sun, Jan 26, 2014 at 9:39 AM, Pankaj Gupta <span \
dir="ltr">&lt;<a href="mailto:pankaj@gaurishiv.org" \
target="_blank">pankaj@gaurishiv.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_default" style="font-family:comic sans \
ms,sans-serif;color:#0000ff">Hi All, </div><div class="gmail_default" \
style="font-family:comic sans ms,sans-serif;color:#0000ff"><br></div><div \
class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#0000ff">



I am stuck with a problem. I have designed a UI using PyQT4 . I have used feq images \
on icons and on buttons. I have converted the ui file to corresponding .py file. \
using pyuic4 command.  Even the execution of command is proper even it didn&#39;t \
throws any warning message.</div>



<div class="gmail_default" style="font-family:comic sans \
ms,sans-serif;color:#0000ff">Now the problem comes when I tried running converted .py \
file on machine. it is searching for a library &quot;Image_rc&quot; in one of the \
import statement. I am not able locate this module. even I don&#39;t know how to \
create the module.</div>



<div class="gmail_default" style="font-family:comic sans \
ms,sans-serif;color:#0000ff">Please help on this. </div><div class="gmail_default" \
style="font-family:comic sans ms,sans-serif;color:#0000ff">please find attached ui \
file, converted.py file and .qrc file along with the images along with this \
mail.</div>



<div class="gmail_default" style="font-family:comic sans \
ms,sans-serif;color:#0000ff"><br></div><div class="gmail_default" \
style="font-family:comic sans ms,sans-serif;color:#0000ff">Waiting for your \
reply.</div><span class="HOEnZb"><font color="#888888"><div>

<br>
</div>
-- <br><div>Thanks with Regards:<br><font style="font-family:comic sans \
ms,sans-serif" size="4">Pankaj Kumar Gupta</font></div><div>Bangalore,Karnatka</div> \
<div>cell: <b style="background-color:rgb(255,204,153)"><a \
href="tel:%2B91-9035486588" value="+919035486588" \
target="_blank">+91-9035486588</a></b></div> <div> </div>
<div><span></span><span></span><br> </div>
</font></span></div>
<br>_______________________________________________<br>
PyQt mailing list    <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>




_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic