On 04/10/2012 06:40 PM, ext Uwe Rathmann wrote:
> void QPixmap::fill(const QWidget *, ... );
> 
> In the documentation it is qualified as obsolete - left for 
> compatibility issues only - but in fact it is not implemented at all.
> 
> I could copy and strip down the code from Qt 4.8 ( fortunately this is
> possible using public APIs only ), but of course I would prefer to find
> the functionality in Qt 5 somewhere.

What's your use case? Maybe QWidget::render() with DrawWindowBackground
and no DrawChildren can be used instead?

The QPixmap::fill(const QWidget *...) function was not possible to
implement as in 4.8 since QPixmap is now part of QtGui whereas QWidget
is part of QtWidgets.

--
Samuel
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to