[Qt5-feedback] Moving itemmodels to QtCore

Thiago Macieira thiago at kde.org
Mon Jul 4 10:52:47 CEST 2011


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.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110704/8516ce0b/attachment.bin 


More information about the Qt5-feedback mailing list