PlasmaCore::Dialog and QQuickRenderControl

Marco Martin notmart at gmail.com
Thu Dec 11 12:51:06 UTC 2014


On Thursday 11 December 2014, Martin Gräßlin wrote:
> Unfortunately one can only use the QQuickRenderControl if one creates the
> QQuickWindow with the ctor taking a QQuickRenderControl* argument. So for
> all cases where a PlasmaCore.Dialog is instantiated in QML this cannot
> work.

you mean it would still be possible to use qwindows as dialogs, but just 
create them in a different way?

> Any ideas how we could solve this problem? Could we make Dialog wrapping a
> QQuickWindow instead of inheriting it? Or are there better solutions?

this may work, but could be a bit problematic since i guess a lot of qml code 
expects it to expose the full qquickwindow api/properties, that would all have 
to be wrapped


-- 
Marco Martin


More information about the Plasma-devel mailing list