mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 09:49:51 +00:00
se qt: Adjusted codebase to the latest dev trends.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40143
This commit is contained in:
parent
a508a86ce4
commit
e0ed1414fb
14
se/qt/gen.py
14
se/qt/gen.py
@ -9,17 +9,13 @@
|
|||||||
# http://www.hardcoded.net/licenses/hs_license
|
# http://www.hardcoded.net/licenses/hs_license
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import os.path as op
|
||||||
|
|
||||||
def print_and_do(cmd):
|
from hsutil.build import print_and_do, build_all_qt_ui
|
||||||
print cmd
|
|
||||||
os.system(cmd)
|
|
||||||
|
|
||||||
os.chdir('base')
|
build_all_qt_ui(op.join('qtlib', 'ui'))
|
||||||
print_and_do('python gen.py')
|
build_all_qt_ui('base')
|
||||||
os.chdir('..')
|
build_all_qt_ui('.')
|
||||||
|
|
||||||
print_and_do("pyuic4 details_dialog.ui > details_dialog_ui.py")
|
|
||||||
print_and_do("pyuic4 preferences_dialog.ui > preferences_dialog_ui.py")
|
|
||||||
|
|
||||||
os.chdir('help')
|
os.chdir('help')
|
||||||
print_and_do('python gen.py')
|
print_and_do('python gen.py')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user