Thread
:
[Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
View Single Post
attila77
2010-02-17 , 22:57
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#
37
fatalsaint is right, never ever touch generated code. An old indian trick is to automate pyuic4 calls - before you do the import, check timestamps and do a pyuic call if the .ui is newer (I intentionally won't show you how to do this so you could discover it on your own
). On the long run this saves you a little bit of typing, and a lot of time when something doesn't work because you forgot pyuic (and that can happen a lot if you have a 100 .ui-s
)
__________________
Blogging about mobile linux -
The Penguin Moves!
Maintainer of
PyQt
(
see introduction
and
docs
),
AppWatch
,
QuickBrownFox
, etc
Quote & Reply
|
The Following User Says Thank You to attila77 For This Useful Post:
noobmonkey
attila77
View Public Profile
Send a private message to attila77
Find all posts by attila77