Steps for converting Qt files into Python files | PYSIDE

1) open cmd or powershell

2) change directory into where the targeted Qt .ui files located

3) type dir (for cmd) or ls for powershell to confirm the .ui Qt .ui files is really located in the path

Picture1

4) test one of the Qt .ui files to see what is inside, type in cmd or powershell

notepad.exe welcomeScreen.ui

image

5) to convert the .ui into .py files, type in cmd or powershell

pyside-uic.exe recoveryScreen.ui -o recoveryScreen.py
pyside-uic.exe welcomeScreen.ui -o welcomeScreen.py

6) and then list the contents of the path to view the files inside it by typing ls (powershell) or dir (cmd)

Picture3

7) to view the content of .py files, type in the cmd or powershell

notepad.exe recoveryScreen.py
notepad.exe welcomeScreen.py

image

image

8) DONE !!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s