Closed God-damnit-all closed 2 years ago
I use the first thing I googled actually: PyInstaller.
To turn this project to .exe I just put this into terminal pyinstaller src\main.py -F -w -i 'C:\PythonProjects\EldenRing-MelinasFingers\src\images\icon.ico'
I use the first thing I googled actually: PyInstaller.
To turn this project to .exe I just put this into terminal pyinstaller src\main.py -F -w -i 'C:\PythonProjects\EldenRing-MelinasFingers\src\images\icon.ico'
I'm surprised that's all there is to it, how did you design the UI? I figured Qt Creator would be involved. I tried using it but I couldn't figure out how to import the files properly.
Well, it actually simple:
pyuic5 -x mainWindow.ui -o mainWindow.py
pyrcc5 -o ui_rc.py ui.qrc
exit
So everytime I change something via Qt Designer I just run this script and UI is getting refreshed.from mainWindow import Ui_MainWindow
and use it as parent for my UI class "MainWindow"Ahhh, so it was Qt Designer, not Qt Creator. Looks a lot more user friendly. Thanks.
What do you do to compile this PyQt project into an exe? I've never done it before so I'm wondering how it's done.