Create GUI with PyQT5 on Wing Personal
I am beginning in python and have made some non GUI samples and they tested good on Wing Personal. I have a sample GUI to test that tested good in a different build system. The sample was designed on QT Designer and the .ui file was converted to .py with a console script command. It is loaded in Wing Personal and there are no errors so far with it just sitting there. I ran it with the debug menu with no errors, but a GUI was not created. I have Qt Core and PyQt5 installed. I'm using Python 3.8 and have set the executable command line to /usr/local/bin/python3 (Python Launcher showed me this) and the python path to default in project properties. I have MacOS X 10.15.2 Catalina.
Should Qt Core and PyQt5 be in a special folder? (I saw Tcl/Tk in a particular 3.8 folder near some Python items.)
Is it possible to launch a GUI right out of Wing?
Is there a book or tutorial available that describes how to build GUIs with Wing and PyQt5?
Thanks for your time.
Can you run your code with /usr/local/bin/python3 on the command line outside of Wing and does a GUI show up? Wing should function the same as that, so yes it's possible to write GUI code in Wing (we write Wing with itself and it also uses PyQt5). From the description I'm wondering if your main entry point is missing or not set up right in your code but I'm just guessing since you didn't also post the code. You could try Step Into to get to the first line and then step through to see where it's going and whether it's executing the code that should initialize Qt and the GUI.