How to create & convert a QtDesigner QRC file to Python

Аватар автора
Python Молодежь России
*** Convert codes *** UI to PY: pyuic5 -x file.ui -o file.py QRC to PY: pycc5 file.qrc -o file_rc.py *** Steps *** 1. Make sure your Python has pyqt5 & pyqt5-tools installed. pip list If not run: pip install pyqt pip install pyqt5-tools 2. Move your images to your project dir 3. Create & populate the qrc file (either in the Qt Resource Browser or just typing it and saving with .qrc) 4. Populate the UI with the images and save ui file. 5. Convert! UI to PY: pyuic5 -x file.ui -o file.py QRC to PY: pycc5 file.qrc -o file_rc.py *** Music *** Animenz Piano Sheets: Unravel Tokyo Ghoul OP [Piano]

0/0


0/0

0/0

0/0