Control: tags -1 patch fixed-upstream On Tue, 04 Sep 2018 21:44:31 +0000 Santiago Vila <sanv...@debian.org> wrote: > Package: src:lyx > Version: 2.3.0-2 > Severity: serious > Tags: ftbfs > > Dear maintainer: > > I tried to build this package in buster but it failed:
> [... snipped ...] > > from ../../../../src/frontends/qt4/GuiDocument.cpp:14: > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: > forward declaration of 'class QButtonGroup' > class QButtonGroup; > ^~~~~~~~~~~~ > ../../../../src/frontends/qt4/GuiDocument.cpp:1245:15: error: invalid use of > incomplete type 'class QButtonGroup' This patch fixes the FTBFS, and is in use by LyX upstream, Gentoo and Fedora. https://www.lyx.org/trac/changeset/5394481071824b39b521d67e2acd7d509e68d0f8/lyxgit https://gitweb.gentoo.org/repo/gentoo.git/tree/app-office/lyx/files/lyx-2.3.0-qt-5.11.patch https://src.fedoraproject.org/rpms/lyx/blob/master/f/0175-Upstreaming-compilation-patch-needed-for-Gentoo.patch Cheers, Juhani