[Qt-interest] Problems when using Models in a console application
Andreas Pakulat
apaku at gmx.de
Thu Oct 14 11:46:17 CEST 2010
On 14.10.10 09:04:05, NoRulez wrote:
> Hello,
>
> I have problems to use QStandardItemModel and QSortFilterProxyModel in a console application.
Those classes are in the QtGui module and hence not usable without
QApplication which in turn needs an X connection.
If you want to do without X connection implement your own model as subclass
of QAbstractItemModel (or QAbstractTableModel or QAbstractListModel) and
don't use any classes from QtGui.
Andreas
--
Tomorrow will be cancelled due to lack of interest.
More information about the Qt-interest-old
mailing list