[PyQt] 5.11: error: invalid use of incomplete type ‘class QAbstractItemModel’
Phil Thompson
phil at riverbankcomputing.com
Mon Jun 11 09:29:12 BST 2018
On 11 Jun 2018, at 8:08 am, Florian Bruhin <me at the-compiler.org> wrote:
>
> Hey,
>
> Not sure if PyQt 5.11 is already supposed to work, but I gave the latest
> snapshot a try (sip-4.19.9.dev1806101717, PyQt5_gpl-5.11.dev1806101728,
> Qt 5.11.1 branch, GCC 8.1.1 on Archlinux).
>
> I got a couple of errors while compiling
> QtTest/qabstractitemmodeltester.h:
> http://paste.the-compiler.org/view/98555747
>
> Adding a "#include <QAbstractItemModel>" at the top of
> QtTest/sipQtTestQAbstractItemModelTester.cpp seems to help, though
> that's probably not a proper fix.
That is the right fix - I'll automate it in tonight's snapshot. I'd forgotten I had already hacked my Qt installation.
Phil
More information about the PyQt
mailing list