problems compiling subsurface 4.4 on fedora 18

Thiago Macieira thiago at macieira.org
Tue Feb 17 09:33:36 PST 2015


On Tuesday 17 February 2015 18:11:46 Lubomir I. Ivanov wrote:
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x188):
> > undefined reference to `QWidget::styleChange(QStyle&)'
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x190):
> > undefined reference to `QWidget::enabledChange(bool)'
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x198):
> > undefined reference to `QWidget::paletteChange(QPalette const&)'
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x1a0):
> > undefined reference to `QWidget::fontChange(QFont const&)'
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x1a8):
> > undefined reference to `QWidget::windowActivationChange(bool)'
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x1b0):
> > undefined reference to `QWidget::languageChange()’
> 
> i think that marble is built with Qt4, while Subsurface with Qt5.
> could be wrong.

Right, those are symbols removed from Qt 5. From Qt 4.8's qwidget.h:

protected:
    virtual void styleChange(QStyle&); // compat
    virtual void enabledChange(bool);  // compat
    virtual void paletteChange(const QPalette &);  // compat
    virtual void fontChange(const QFont &); // compat
    virtual void windowActivationChange(bool);  // compat
    virtual void languageChange();  // compat

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list