[Kde-bindings] Does smokeqt support the Q3 support classes?

Richard Dale rdale at foton.es
Fri Jul 24 12:00:26 UTC 2009


On Friday 24 July 2009 10:52:03 am Richard Dale wrote:
> On Thursday 23 July 2009 10:31:46 pm Chris Burel wrote:
> > I added the Q3Support headers to smoke/qt/header_list and tried to
> > recompile, but I get a bunch of errors:
> > /pts/testPipe/share/Qt4/def/dat/perlqt4/build/smoke/qt/x_1.cpp:3606:
> > error: base `Q3CanvasItem' with only non-default constructor in class
> > without a constructor
> > /pts/testPipe/share/Qt4/def/dat/perlqt4/build/smoke/qt/x_1.cpp:5163:
> > error: base `Q3CanvasSprite' with only non-default constructor in class
> > without a constructor
> > /pts/testPipe/share/Qt4/def/dat/perlqt4/build/smoke/qt/x_1.cpp:5474:
> > error: base `Q3CanvasText' with only non-default constructor in class
> > without a constructor
> >
> > Looks like kalyptus isn't creating valid class constructors for those.
> >  The full list of classes with that problem is
> > Q3CanvasItem
> > Q3CanvasSprite
> > Q3CanvasText
> > Q3DockAreaLayout
> > Q3GCacheIterator
> > Q3GDictIterator
> > Q3GListIterator
> > Q3NetworkOperation
> > Q3SimpleRichText
> > Q3StyleSheetItem
> >
> > Some of those are undocumented classes, but for the ones I checked
> > they all have constructors that require arguments.
> >
> > Is this just something that isn't supported?
>
> I've always excluded the Q3* classes as I think that there are more than
> enough classes in Qt4 as it is, and having even more makes the api even
> harder to master.
>
> I had a look at Q3CanvasItem and it doesn't seem to have anything unusual
> in the header. Have you added the new classes to the 'classlist' file for
> the smoke project?
Oops, it's not classlist that is if you were just adding to the smoke/qt 
library project. I've just built that with some q3* headers added including 
q3canvas.h and it built fine for me.

Index: header_list
===================================================================
--- header_list (revision 996702)
+++ header_list (working copy)
@@ -1,3 +1,7 @@
+q3frame.h
+q3valuelist.h
+q3canvas.h
+q3scrollview.h
 qtextdocumentwriter.h
 qabstracteventdispatcher.h
 qabstractfileengine.h

Are you using the up to date version of kalyptus in the kdebindings trunk svn?

-- Richard



More information about the Kde-bindings mailing list