Problems compiling marble with Qt5

Thiago Macieira thiago at macieira.org
Sat Dec 13 16:18:50 PST 2014


On Saturday 13 December 2014 15:41:55 Dirk Hohndel wrote:
> > On Dec 13, 2014, at 2:56 PM, Pedro Neves <nevesdiver at gmail.com> wrote:
> > 
> > Hi:
> > 
> > After cleaning my directory, I managed to start the compilation of
> > Subsurface.
> > 
> > However, I get an error:
> > 
> > linking subsurface
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x60):
> > undefined reference to `Marble::MarbleWidget::connectNotify(QMetaMethod
> > const&)'
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x68):
> > undefined reference to
> > `Marble::MarbleWidget::disconnectNotify(QMetaMethod const&)' collect2:
> > error: ld returned 1 exit status
> > Makefile:537: recipe for target 'subsurface' failed
> > make: *** [subsurface] Error 1
> 
> Still looks like you have old .o files

Actually, he has new .o but is linking against an old Marble library. The 
"connectNotify" functions with QMetaMethod are from Qt 5.

-- 
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