On Wed, Oct 18, 2017 at 10:57:54AM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > > The compiler doesn't like it: > > > > ../../../../src/frontends/qt4/GuiToolbar.cpp: In member function ???void > > lyx::frontend::GuiToolbar::saveSession(lyx::QSettings&) const???: > > ../../../../src/frontends/qt4/GuiToolbar.cpp:356:10: error: invalid use of > > incomplete type ???class lyx::QSettings??? > > settings.setValue(sessionKey() + "/visibility", visibility_); > > ^ > > You just need to put forward decl out of lyx namespace, try the attached.
Yep. Apparently, I didn't pay attention to the compiler error... -- Enrico