On Mon, Apr 02, 2018 at 01:41:03PM +0000, Pavel Sanda wrote: > commit 1a4404944bf5830164435b0dedb6f6bee9c7371b > Author: Pavel Sanda <sa...@lyx.org> > Date: Mon Apr 2 15:39:56 2018 +0200 > > Upstreaming compilation patch needed for Gentoo. > --- > src/frontends/qt4/GuiDocument.cpp | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/src/frontends/qt4/GuiDocument.cpp > b/src/frontends/qt4/GuiDocument.cpp > index 7fd6007..825e786 100644 > --- a/src/frontends/qt4/GuiDocument.cpp > +++ b/src/frontends/qt4/GuiDocument.cpp > @@ -68,11 +68,12 @@ > #include "frontends/alert.h" > > #include <QAbstractItemModel> > -#include <QHeaderView> > +#include <QButtonGroup> > #include <QColor> > #include <QColorDialog> > #include <QCloseEvent> > #include <QFontDatabase> > +#include <QHeaderView> > #include <QScrollBar> > #include <QTextBoundaryFinder> > #include <QTextCursor>
Why does e.g. excluding <QButtonGroup> can cause a compilation error on one system and not on others. Why don't I get a compilation error without this patch? I think I asked a similar question (possibly also to you?) in the past, but I cannot find it and forgot the answer. I just ask for my own learning. Scott
signature.asc
Description: PGP signature