Speaking of workarounds :
I have to use this ugly hack that depends on otherwise inaccessible code to
update QPrintPreviewDialog

//dia is a QPrintPreviewDialog
QPrintPreviewWidget* w = dia->findChild<QPrintPreviewWidget*>();
QMetaObject::invokeMethod(w, "updatePreview", Qt::QueuedConnection);

can you please add "updatePreview" to the dialog's interface?

On Fri, Jan 22, 2016 at 5:59 PM, Robin Burchell <[email protected]>
wrote:

> On Fri, Jan 22, 2016, at 03:57 PM, PCMan wrote:
> > > The following three seems to be using at least qpa/qplatformtheme.h
> > >
> > > * KDE's frameworkintegration 5.16.0
> > > * libqtxdg 1.3.0
> > > * lxqt-qtplugin 0.10.0
> > >
> > > Maybe for being able to create it's own theme?
> > >
> >
> >
> > Yes, but it's not only for themes.
> > Libqtxdg uses Qt private headers to woakround bugs in QIconTheme and
> > QIcon.
> > Lxqt-plugin uses Qt private qpa headers to support customized themes and
> > make some desktop settings work correctly.
> > Our LXQt file manager pcmanfm-qt will be using Qt private headers
> > qdnd_p.h
> > for workaround a regression bug of Qt 5.5 which breaks DND.
> >
> > Thanks!
>
> Do you happen to have bug IDs for the problems you're working around?
> _______________________________________________
> Development mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/development
>
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to