[Qt5-feedback] Moving itemmodels to QtCore
Sean Harmer
sh at theharmers.co.uk
Mon Jul 4 11:01:52 CEST 2011
On Monday 04 July 2011 10:52:47 Thiago Macieira wrote:
> Em Monday, 4 de July de 2011, às 09:30:05, Sean Harmer escreveu:
> > We have recently had a use case where we would have liked to have used
> > QSortFilterProxyModel in a non-gui library that is aimed to be used by a
> > desktop app and a headless app on a server. This is not possible due to
> > the above being part of QtGUI. We ended up reusing the QSFPM subclasses
> > in both GUI and headless versions of the apps themselves.
> >
> > I would vote for moving the above into QtCore where possible.
>
> You can use QtGui in a headless application. Just don't use QApplication.
I know but only if it is on the server and that normally involves pulling all
of X (even if they are not needed at runtime).
Sean
More information about the Qt5-feedback
mailing list