[Qt4-preview-feedback] Qt4-preview-feedback Digest, Vol 10, Issue 47

ronan.maclaverty at nokia.com ronan.maclaverty at nokia.com
Mon Feb 16 12:27:35 CET 2009


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: qt4-preview-feedback-bounces at trolltech.com
>[mailto:qt4-preview-feedback-bounces at trolltech.com] On Behalf
>Of ext qt4-preview-feedback-request at trolltech.com
>Sent: 16 February, 2009 13:00
>To: qt4-preview-feedback at trolltech.com
>Subject: Qt4-preview-feedback Digest, Vol 10, Issue 47
>
>Send Qt4-preview-feedback mailing list submissions to
>        qt4-preview-feedback at trolltech.com
>
>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
>        qt4-preview-feedback-request at trolltech.com
>
>You can reach the person managing the list at
>        qt4-preview-feedback-owner at trolltech.com
>
>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 <jeremie.delaitre at technogerma.fr>
>Subject: Re: [Qt4-preview-feedback] Severe repaint bug when scaling
>To: qt4-preview-feedback at trolltech.com
>Message-ID: <gnb55s$p3o$1 at eple.troll.no>
>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
>Qt4-preview-feedback at trolltech.com
>http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
>
>
>End of Qt4-preview-feedback Digest, Vol 10, Issue 47
>****************************************************
>




More information about the Qt4-feedback mailing list