You have to use the raster graphic backend:
in c++: QApplication::setGraphicsSystem("raster");
in qtjambi 4.7, it seems that there is a static method
QApplication.setGraphicsSystem(String )

Helge: Where is the javadoc of the 4.7 version ?

Benoit

2010/11/23 Helge Fredriksen <[email protected]>

> Hello,
>
> As for QWebWiew details, I recommend asking the the qt-interest list. The
> API calls in C++ is just the same, and the audience is quite a bit bigger.
>
> Regards,
> Helge Fredriksen
>
> On Mon, Nov 22, 2010 at 2:33 PM, Clement Escoffier <
> [email protected]> wrote:
>
>> Hello,
>>
>> I'm trying to get the anti-aliasing working with a QWebView.
>> I've enabled the RenderHints as follows:
>>
>> m_view.setRenderHints(
>>
>>            RenderHint.Antialiasing,
>>
>>            RenderHint.HighQualityAntialiasing,
>>
>>            RenderHint.SmoothPixmapTransform,
>>
>>            RenderHint.TextAntialiasing,
>>
>>            RenderHint.NonCosmeticDefaultPen);
>>
>>
>> (m_view is my QWebView)
>>
>>
>> It works for mostly everything except rounded corners:
>>
>> -webkit-border-radius: 0px 0px 4px 4px;
>>
>>
>> Rounded corners are supported, but it looks not antialised. Do I miss
>> anything ?
>>
>>
>> I'm using Qt Jambi 4.7 (was the same in 4.6) or Mac OS X (VM in 32bits)
>> and Windows (32 bits VM).
>>
>>
>> Regards,
>>
>>
>> Clement
>>
>>
>> _______________________________________________
>> Qt-jambi-interest mailing list
>> [email protected]
>> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>>
>>
>
> _______________________________________________
> Qt-jambi-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to