[Qt-interest] Problem with subclassing of theQAbstractTableModel
Vladimir Barbarosh
vladimir.barbarosh at gmail.com
Fri Nov 5 20:51:53 CET 2010
> Don't know about the whole test suite...
>
> But add modeltest.cpp and modeltest.h to your build area.
>
> And instantiate a new modeltest with the model under test as a parameter
Thanks. It works, with the little fix though:
1. Comment out #include "proxymodeltestsuite_export.h" in
modeltest.h
2. Comment out PROXYMODELTESTSUITE_EXPORT in modeltest.h.
This is "fixed" modeltest.h:
...
// #include "proxymodeltestsuite_export.h"
class /* PROXYMODELTESTSUITE_EXPORT */ ModelTest : public QObject
...
More information about the Qt-interest-old
mailing list