Added Qt5 UI compiler script
This commit is contained in:
parent
ab837b19cb
commit
aa2e62f38d
|
@ -0,0 +1,11 @@
|
|||
#! /usr/bin/env python3
|
||||
|
||||
from PyQt5.uic import compileUi
|
||||
|
||||
Forms = (('main.ui', 'MuleAnalyzerUI.py'),)
|
||||
|
||||
for ui_input, output_filename in Forms:
|
||||
print('Compiling "{}"...'.format(ui_input))
|
||||
with open(output_filename, 'w+') as output:
|
||||
compileUi(ui_input, output)
|
||||
print('... Form built and written to: "{}".'.format(output_filename))
|
Loading…
Reference in New Issue