No QtDesigner...

Geert Vancompernolle geert.vancompernolle at gmail.com
Fri May 22 09:53:58 BST 2020


Ok, found it...  For those who are equally confused as I was initially, 
here's the solution:

- Settings -> Preferences -> At -> Qt Tools

- Tools Directory -> Point to location of QtDesigner installation path

- No need to fill in anything in Qt-Prefix and Qt-Postfix fields on 
Windows 10 (default is designer and the tool is automatically adding the 
extension .exe to it)

Now you can open .ui files again...

-- 
Best rgds,
Geert

On 22/05/2020 10:30, Geert Vancompernolle wrote:
>
> Hi,
>
> Using Eric6 20.5 installation, I wanted to experiment with GUI 
> applications.  However, when trying to open the .ui file, I get the 
> following error:
>
> I've read somewhere QtDesigner is not part of the standard PyQt5 
> package anymore, already for a while.  So, I downloaded the 
> PyQt5Designer 5.14.1 using pip 
> (https://pypi.org/project/PyQt5Designer/#files).
>
> The QtDesigner executable is installed in 
> ..\Lib\site-packages\QtDesigner (why not in 
> ..\Lib\site-packages\PyQt5\....???) and works well when used individually.
>
> But when I want to open the .ui file again in Eric6 (after restarting 
> Eric6), it still wants to see the designer.exe file inside 
> ..\Lib\site-packages\PyQt5\Qt\bin (which is _*not*_ the location where 
> the PyQt5Designer has installed designer.exe).
>
> Question: is there a way to tell Eric6 to look for designer.exe in 
> another location?
>
> -- 
> Best rgds,
> Geert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20200522/745a2f1d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cnnekaegkngjodaj.png
Type: image/png
Size: 6123 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20200522/745a2f1d/attachment-0001.png>


More information about the Eric mailing list