Subclassing .ui in Qt4 projects broken

Andreas Pakulat apaku at gmx.de
Fri Oct 27 11:17:42 UTC 2006


On 26.10.06 19:55:10, Matt Rogers wrote:
> On Wednesday 25 October 2006 13:06, Andreas Pakulat wrote:
> > Hi,
> >
> > I just discovered that in 3.4 one cannot subclass a .ui file in Qt4
> > projects (used the mainwindow-template).
> >
> > The generate subclass wizard hangs after I click on Ok, i.e. kdevelop
> > takes full cpu, but doesn't do anything - I suspect the codecompletion,
> > but I have no evidence for this.
> >
> > Using the "choose or create subclass" dialog it generates an incorrect
> > header. The class uses
> >
> > class Foobar : public Form {
> > };
> >
> > Which is incorrect for Qt4.
> >
> > I don't have the time to look into this in the next couple of days (I
> > know I provided the original patch for this and wonder why it doesn't
> > work anymore), so if anybody has some free time, please have a look at
> > it.
> >
> > Andreas
> 
> It looks like you've just fixed this in subversion. Thanks for fixing it. :)

Well, I had another 30 minutes before bed-time... But there's still the
open issue about creating Qt3 classes when it's a Qt4 project. I haven't
fixed that.

Andreas

-- 
It is so very hard to be an
on-your-own-take-care-of-yourself-because-there-is-no-one-else-to-do-it-for-you
grown-up.




More information about the KDevelop-devel mailing list