I have been playing with various DarkTheme repositories for Python. Most of them are only half implemented. Fonts I'm using for PyQt5 are overridden when a dark theme (or light theme) is overlayed onto an existing GUI generated by Qt Designer. I've also played with QtPy, which tries to solve the problem of not needing a particular GUI installed to use a program. It will detect PyQt or PySide if installed. But then QtPy uses UIC for loading .UI files. And PyInstaller doesn't like .UI files.
@@MouseVsPython For distributing Python EXE files, I'm guessing installers like Inno Setup are fine. Or just send ZIP files. That would have the UI files where they belong. But the user would need Python and all the site-packages installed to use the script.
@@SHONNER Oh. Yes, you could build the exe with Py2Exe or PyInstaller and then use Inno Setup to distribute the UI files and anything else your app needs
@@MouseVsPython The trick with PyInstaller is telling it about the UI files. It assumes they will be in a temp folder created when the EXE is run. That's where I get stuck at.
I've used wxGlade (yuck!). I've used wxFormBuilder (a lot better). But Qt Designer is so much quicker for me to design GUIs with. And has more features. I would never try to do PyQt5 code by hand, though. You do need a PyQt license if you are selling software. I'm writing for myself. Hobbyist.
I have been playing with various DarkTheme repositories for Python. Most of them are only half implemented. Fonts I'm using for PyQt5 are overridden when a dark theme (or light theme) is overlayed onto an existing GUI generated by Qt Designer. I've also played with QtPy, which tries to solve the problem of not needing a particular GUI installed to use a program. It will detect PyQt or PySide if installed. But then QtPy uses UIC for loading .UI files. And PyInstaller doesn't like .UI files.
I didn't know that. Thanks for mentioning that.
Did you find a good tool that does work with UI files?
@@MouseVsPython For distributing Python EXE files, I'm guessing installers like Inno Setup are fine.
Or just send ZIP files. That would have the UI files where they belong. But the user would need Python and all the site-packages installed to use the script.
@@SHONNER Oh. Yes, you could build the exe with Py2Exe or PyInstaller and then use Inno Setup to distribute the UI files and anything else your app needs
@@MouseVsPython The trick with PyInstaller is telling it about the UI files. It assumes they will be in a temp folder created when the EXE is run. That's where I get stuck at.
I've used wxGlade (yuck!). I've used wxFormBuilder (a lot better). But Qt Designer is so much quicker for me to design GUIs with. And has more features. I would never try to do PyQt5 code by hand, though. You do need a PyQt license if you are selling software. I'm writing for myself. Hobbyist.