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