[PyQt] uic compilUi error

Keith Lostracco keith at intentdev.io
Sun Mar 18 16:50:31 GMT 2018


Ah dumb mistake. thanks.

On Sun, Mar 18, 2018 at 9:02 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 18 Mar 2018, at 3:52 pm, Keith Lostracco <keith at 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 at IntentDev.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180318/b8892712/attachment.html>


More information about the PyQt mailing list