[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#960951: qtav: FTBFS with Qt 5.14: invalid use of incomplete type ‘class QSGMaterial’



Source: qtav
Version: 1.13.0+ds-1
Severity: important
Tags: ftbfs fixed-upstream
User: debian-qt-kde@lists.debian.org
Usertags: qt5.14

Dear Maintainer,

qtav fails to build with Qt 5.14, currently available in experimental:

  SGVideoNode.cpp:56:32: error: invalid use of incomplete type ‘class QSGMaterial’
     56 | class SGVideoMaterial : public QSGMaterial
        |                                ^~~~~~~~~~~
  In file included from /usr/include/x86_64-linux-gnu/qt5/QtQuick/QSGGeometryNode:1,
                   from QmlAV/SGVideoNode.h:25,
                   from SGVideoNode.cpp:23:
  /usr/include/x86_64-linux-gnu/qt5/QtQuick/qsgnode.h:221:7: note: forward declaration of ‘class QSGMaterial’
    221 | class QSGMaterial;
        |       ^~~~~~~~~~~

The following upstream commit fixes it:

https://github.com/wang-bin/QtAV/commit/5abba7f0505e75fc

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: