diff --git a/me/qt/gen.py b/me/qt/gen.py index 00d60204..9510c5dc 100644 --- a/me/qt/gen.py +++ b/me/qt/gen.py @@ -9,15 +9,13 @@ # http://www.hardcoded.net/licenses/hs_license import os +import os.path as op -from hsutil.build import print_and_do +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')