[Development] issue in minimal plugin

Samuel Rødal samuel.rodal at digia.com
Thu Jan 31 15:21:00 CET 2013


On 01/31/2013 01:53 PM, Paul Olav Tvete wrote:
> On Wednesday 30 January 2013 07:58:25 Thiago Macieira wrote:
>> On quarta-feira, 30 de janeiro de 2013 17.17.46, Mumtaz Ahmad wrote:
>>> Hi,
>>>
>>> I am trying to run rasterwindow example using minimal plugin but i am
>>> getting null paint device
>>> QPainter::begin: Paint device returned engine == 0, type: 3
>>>
>>> Is it known issue in QT5.0?
>>
>> The minimal plugin is not meant to be used when running applications. It's
>> meant only as a helper for porting Qt to new platforms and writing new
>> plugins.
>
> The minimal plugin is definitely not suited for production. No-one needs to fill
> up their file system with screenshots of a running application.

Currently it only does that if you set the QT_DEBUG_BACKINGSTORE 
environment variable.

> However, there are cases where something like the minimal plugin is useful for
> real applications: WebKit is one example. I recently had a discussion with
> Simon about this, and the solution we came up with was moving the current
> minimal plugin to examples, and write a new plugin for applications that need
> to do graphics without connecting to a windowing system.

Such as the offscreen platform plugin that was recently merged to dev? :)

--
Samuel




More information about the Development mailing list