From e0f52c9b805d45438be609318297bddecf1d61cd Mon Sep 17 00:00:00 2001 From: hsoft Date: Mon, 28 Sep 2009 15:52:55 +0000 Subject: [PATCH] dgme qt: adjusted to the latest developments. --HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40152 --- me/qt/gen.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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')