PyQt, .ui and .exe
-
wrote on 9 Nov 2022, 19:37 last edited by
Hi.
Its my first project on Qt
I just create an simple app, and i want to create .exe file. But i cant find how to create an .exe with .ui file.
How can i do that? -
Hi and welcome to devnet,
Your question is bit hard to follow.
Either you generate a Python file from the .ui file and use it in your project or you load the .ui file using Python code. In which case are you ?
-
wrote on 9 Nov 2022, 19:54 last edited by
Secound.
I use a .ui file in my project, with commend 'loadUi' -
I would recommend checking the Qt for Python Deployment guide for suggestions on how to deploy python based application.
-
wrote on 9 Nov 2022, 20:05 last edited by
Ok... i think i start over again without .ui, just write everything with my hands :)
-
I would recommend checking the Qt for Python Deployment guide for suggestions on how to deploy python based application.
-
@SGaist Ok, i convert it to .py and making a working app.
When i create an .exe from .py, i recive an error: ModuleNotFoundError: No module named 'PyQt5'
Can You help me with that?wrote on 13 Nov 2022, 11:42 last edited by@fornakter said in PyQt, .ui and .exe:
When i create an .exe from .py,
And how do you do that? Presumably look at the documentation for the tool.
1/7