[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] uic compilUi error
From: Keith Lostracco <keith () intentdev ! io>
Date: 2018-03-18 16:50:31
Message-ID: CAHNtrmfaPr=H3ezfX0fagFHKkq2Xu0TzfiDL0ehkCQ2tLGgbtQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Ah dumb mistake. thanks.
On Sun, Mar 18, 2018 at 9:02 AM, Phil Thompson <phil@riverbankcomputing.com>
wrote:
> On 18 Mar 2018, at 3:52 pm, Keith Lostracco <keith@intentdev.io> wrote:
> >
> > Ah yeah my bad. Here is all the info.
> >
> > Windows 10
> > Python 3.6
> > PyQt 5.10.1
> > Qt Creator 4.5.2
> >
> >
> > Based on Qt 5.10.1
> >
> >
> > uic invoke statement:
> >
> > from PyQt5 import uic
> >
> > uiFile = 'QtCreator/signalProc/mainwindow.ui'
> > pyFile = 'mainwindow.py'
> >
> > uic.compileUi(uiFile, pyFile)
>
> As it says in...
>
> http://pyqt.sourceforge.net/Docs/PyQt5/designer.html#PyQt5.uic.compileUi
>
> 'pyFile' is a file-like object and not the name of a file.
>
> Phil
>
>
--
Keith Lostracco
*Interactive Developer*
*Intent Productions, Inc.*
m: 250 505 2444
w: IntentDev.io e: Keith@IntentDev.io
[Attachment #5 (text/html)]
<div dir="ltr">Ah dumb mistake. thanks.<br></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Sun, Mar 18, 2018 at 9:02 AM, Phil Thompson <span dir="ltr"><<a \
href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span \
class="">On 18 Mar 2018, at 3:52 pm, Keith Lostracco <<a \
href="mailto:keith@intentdev.io">keith@intentdev.io</a>> wrote:<br> ><br>
> Ah yeah my bad. Here is all the info.<br>
><br>
> Windows 10<br>
> Python 3.6<br>
> PyQt 5.10.1<br>
> Qt Creator 4.5.2<br>
><br>
><br>
> Based on Qt 5.10.1<br>
><br>
><br>
> uic invoke statement:<br>
><br>
> from PyQt5 import uic<br>
><br>
> uiFile = 'QtCreator/signalProc/<wbr>mainwindow.ui'<br>
> pyFile = 'mainwindow.py'<br>
><br>
> uic.compileUi(uiFile, pyFile)<br>
<br>
</span>As it says in...<br>
<br>
<a href="http://pyqt.sourceforge.net/Docs/PyQt5/designer.html#PyQt5.uic.compileUi" \
rel="noreferrer" target="_blank">http://pyqt.sourceforge.net/<wbr>Docs/PyQt5/designer.html#<wbr>PyQt5.uic.compileUi</a><br>
<br>
'pyFile' is a file-like object and not the name of a file.<br>
<span class="HOEnZb"><font color="#888888"><br>
Phil<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><span><div>
<div><table \
style="background:none;border-width:0px;border:0px;margin:0;padding:0" cellspacing="0" \
cellpadding="0" border="0"> <tbody><tr><td colspan="2" \
style="padding-bottom:5px;color:#1b5f9b;font-size:18px;font-family:Arial,Helvetica,sans-serif">Keith \
Lostracco</td></tr> <tr><td colspan="2" \
style="color:#333333;font-size:14px;font-family:Arial,Helvetica,sans-serif"><i>Interactive \
Developer</i></td></tr> <tr><td colspan="2" \
style="color:#333333;font-size:14px;font-family:Arial,Helvetica,sans-serif"><b>Intent \
Productions, Inc.</b></td></tr> <tr><td \
style="vertical-align:top;width:20px;color:#1b5f9b;font-size:14px;font-family:Arial,Helvetica,sans-serif" \
width="20" valign="top">m:</td><td \
style="color:#333333;font-size:14px;font-family:Arial,Helvetica,sans-serif">250 505 \
2444</td></tr> <tr><td \
style="vertical-align:top;width:20px;color:#1b5f9b;font-size:14px;font-family:Arial,Helvetica,sans-serif" \
width="20" valign="top">w:</td><td \
style="vertical-align:top;color:#333333;font-size:14px;font-family:Arial,Helvetica,sans-serif" \
valign="top"><a href="http://IntentDev.io" \
style="color:#a94902;text-decoration:none;font-weight:normal;font-size:14px" \
target="_blank">IntentDev.io</a> <span style="color:#1b5f9b">e: </span><a \
href="mailto:Keith@IntentDev.io" \
style="color:#a94902;text-decoration:none;font-weight:normal;font-size:14px" \
target="_blank">Keith@IntentDev.io</a></td></tr> </tbody></table>
</div>
</div></span></div></div></div></div></div></div>
</div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://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