News for hackers. Stuff that matters.
Re:A Book about Qt5 by mattigames on Monday March 04, 2019 @12:32AM (#19299018)
I don't remember the specifics, I remember that after designing the UI files on QtDesigner you had to compile some files that python consumes, some sort of bindings to the interface you created.
Re:A Book about Qt5 by blattimwind on Monday March 04, 2019 @04:55AM (#19300048)
You never had to do that. You can load Qt Designer XML files at runtime with neglible performance impact.
Re:A Book about Qt5 by toyg on Monday March 04, 2019 @06:41AM (#19300496)
I still like to use pyuic so that the IDE will pick up the generated file and suggest widget names while you’re editing the subclass. Otherwise you’re a bit blind.

It’s trivial to add pyuic as an external tool in most iDEs anyway.

Re:A Book about Qt5 by blattimwind on Monday March 04, 2019 @11:06AM (#19302252)
Good point, though I personally don't work through self.ui but rather prefer loading into the class itself. Then I just put type annotations of the widgets in the class.