https://github.com/junxian428/desktopapp_qt_example_production
Documentation. This example for production-ready. However, it does not include local server and api server call (multithreading or run-subprocess)
https://github.com/junxian428/desktopapp_qt_example_production
desktop-app gui production-code qt-py
Last synced: about 1 year ago
JSON representation
Documentation. This example for production-ready. However, it does not include local server and api server call (multithreading or run-subprocess)
- Host: GitHub
- URL: https://github.com/junxian428/desktopapp_qt_example_production
- Owner: junxian428
- Created: 2023-05-09T03:01:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T03:17:00.000Z (about 3 years ago)
- Last Synced: 2025-01-21T15:50:33.960Z (over 1 year ago)
- Topics: desktop-app, gui, production-code, qt-py
- Language: Python
- Homepage:
- Size: 63.4 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DesktopApp_Qt_Example_Production
Development Environment: root directory and run python Main.py
My Development Python Version (Backend): Python 3.9.2
Qt Design (Windows Qt Designer) -Frontend : ui files
___________________________________________________________________________________
Compile command into exe: pyinstaller --onefile Main.py
___________________________________________________________________________________
However, the line of code requires load the UI files therefore need to copy Design folder beside EXE file where stores the backend logic and UI
frontend will be accessed by the public. I guess doesnt matter?
___________________________________________________________________________________
Therefore production program can be found in dist/Main
All you need is copy dist/Main to run Python QT project (ready to sell to the customer, this is a simple example only, for reference later on)