mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 01:39:50 +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
|
||||
|
||||
import os
|
||||
import os.path as op
|
||||
|
||||
def print_and_do(cmd):
|
||||
print cmd
|
||||
os.system(cmd)
|
||||
from hsutil.build import print_and_do, build_all_qt_ui
|
||||
|
||||
os.chdir('base')
|
||||
print_and_do('python gen.py')
|
||||
os.chdir('..')
|
||||
|
||||
print_and_do("pyuic4 details_dialog.ui > details_dialog_ui.py")
|
||||
print_and_do("pyuic4 preferences_dialog.ui > preferences_dialog_ui.py")
|
||||
build_all_qt_ui(op.join('qtlib', 'ui'))
|
||||
build_all_qt_ui('base')
|
||||
build_all_qt_ui('.')
|
||||
|
||||
os.chdir('help')
|
||||
print_and_do('python gen.py')
|
||||
|
Loading…
x
Reference in New Issue
Block a user