Hi all. There is a bug in the qdbusxml2cpp compiler: it does not handle signals correctly (IMHO).
The issue is that signal "out" arguments are treated as "in" arguments, meaning that objects and structs are passed as bit-copies not references - this is particularly annoying if using user defined types. Please, correct me if I am wrong. The fix to the compiler (qbusxml2cpp.cpp - Qt-4.5.0-rc1) would be: 730 QStringList argNames = makeArgNames(signal.outputArgs); 731 writeArgList(hs, argNames, signal.annotations, QDBusIntrospection::Arguments(), signal.outputArgs); And 1073 QStringList argNames = makeArgNames(signal.outputArgs); 1074 writeArgList(hs, argNames, signal.annotations, QDBusIntrospection::Arguments(), signal.outputArgs); Regards Ronan. >-----Original Message----- >From: [email protected] >[mailto:[email protected]] On Behalf >Of ext [email protected] >Sent: 16 February, 2009 13:00 >To: [email protected] >Subject: Qt4-preview-feedback Digest, Vol 10, Issue 47 > >Send Qt4-preview-feedback mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > >http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback >or, via email, send a message with subject or body 'help' to > [email protected] > >You can reach the person managing the list at > [email protected] > >When replying, please edit your Subject line so it is more >specific than "Re: Contents of Qt4-preview-feedback digest..." > > >Today's Topics: > > 1. Re: Severe repaint bug when scaling (J?r?mie Delaitre) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Mon, 16 Feb 2009 08:38:49 +0100 >From: J?r?mie Delaitre <[email protected]> >Subject: Re: [Qt4-preview-feedback] Severe repaint bug when scaling >To: [email protected] >Message-ID: <[email protected]> >Content-Type: text/plain; charset=ISO-8859-15; format=flowed > >Andr? Kn?rig a ?crit : > >> Hi, >> and great work! >> >> The only problem we're seeing atm is this weird repaint/refresh bug. >> When (and only when) zooming the canvas in and out (using scaling >> internally), some of the graphics items aren't properly >refreshed and >> show a big black filled rectangle below the item. >> This happens pretty much at random with any item when >zooming, in the >> screenshot with some of the yellow lines. >> >> Qt 4.5-rc1 Windows Vista .exe installer The code of the app >shown here >> is open-source: >> http://code.google.com/p/fritzing >> >> Best, >> andr?> >> > >Hi, > >We have similar problem here as reported in the message titled: > >[Qt4-preview-feedback] Qt 4.5 RC1 Bugs with QGraphicsSvgItem >rendering on Windows > >Regards, > >J?r?mie Delaitre >TGS France > > >------------------------------ > >_______________________________________________ >Qt4-preview-feedback mailing list >[email protected] >http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback > > >End of Qt4-preview-feedback Digest, Vol 10, Issue 47 >**************************************************** > _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
