Missing function?
Opened this issue · 1 comments
Compile problem with latest update:
DataModel.cpp: In member function ‘Marble::GeoDataDocument* DataModel::getDocument()’:
DataModel.cpp:72:42: error: no matching function for call to ‘Marble::GeoDataPlacemark::setStyle(QSharedPointerMarble::GeoDataStyle&)’
placemark->setStyle(style);
^
In file included from /usr/include/marble/GeoDataContainer.h:21:0,
from /usr/include/marble/GeoDataDocument.h:33,
from DataModel.h:6,
from DataModel.cpp:1:
/usr/include/marble/GeoDataFeature.h:399:10: note: candidate: void Marble::GeoDataFeature::setStyle(Marble::GeoDataStyle_)
void setStyle( GeoDataStyle *style );
^
/usr/include/marble/GeoDataFeature.h:399:10: note: no known conversion for argument 1 from ‘QSharedPointerMarble::GeoDataStyle’ to ‘Marble::GeoDataStyle_’
Makefile:836: recipe for target 'DataModel.o' failed
You will need a more recent version of Marble.
This interface was changed by Marble developers.