win32 fix for qdbuscpp2xml
Ralf Habacker
ralf.habacker at freenet.de
Thu Apr 12 13:37:00 CEST 2007
Hi all,
for the record: the following message came just from trolltech. :-)
Ralf
qt-bugs at trolltech.com schrieb:
> On Thursday, 12. Apr 2007 08:29 Ralf Habacker wrote:
>
>> Hi,
>>
>> qdbuscpp2xml has problem with dos line endings. The append patch fixes
>> this issue.
>>
>> This patch was already submitted as in 2006 Dezember as Issue N144588
>> but i cannot found it in the tracker. :-(
>>
>> Regards
>> Ralf
>>
>
> Hi Ralf,
>
> I just made task 144663 public so you would be able to see it on the
> task tracker. This problem is already fixed for Qt4.4 release but I am
> sending you the patch that you can apply under Qt4.2.x / Qt4.3 releases
> and hopefully it will work for you.
> Kind regards,
>
> --
> Petref Saraci
> Support Engineer
> Trolltech ASA - http://www.trolltech.com
> ======================================================================
> Now Playing: Qt Application Testing Made Easy!
> -------------------------
> froglogic and Trolltech will be hosting two free webcasts on automated GUI
> testing for Qt applications on April 17. Register now and attend to get a 10%
> discount on Squish.
> ======================================================================
> ------------------------------------------------------------------------
>
> --- tools/qdbus/tools/qdbuscpp2xml/qdbuscpp2xml.cpp 2007-04-12 09:59:15 -0000
> +++ tools/qdbus/tools/qdbuscpp2xml/qdbuscpp2xml.cpp 2007-04-12 09:59:15 -0000
>
> @@ -350,7 +350,7 @@
> continue;
>
> QFile f(arg);
> - if (!f.open(QIODevice::ReadOnly)) {
> + if (!f.open(QIODevice::ReadOnly|QIODevice::Text)) {
> fprintf(stderr, PROGRAMNAME ": could not open '%s': %s\n",
> qPrintable(arg), qPrintable(f.errorString()));
> return 1;
>
More information about the Kde-windows
mailing list