fix compile of styles_model.cpp/mapnik::to_expression_string() by ensuring compile defines are present
This commit is contained in:
parent
a8d49b8112
commit
d216aa9771
2 changed files with 2 additions and 3 deletions
|
@ -263,8 +263,7 @@ public:
|
|||
QString name() const
|
||||
{
|
||||
mapnik::expression_ptr filter = rule_.get_filter();
|
||||
|
||||
return QString("FIXME");//mapnik::to_expression_string((*filter)).c_str());
|
||||
return QString(mapnik::to_expression_string(*filter).c_str());
|
||||
}
|
||||
|
||||
QIcon icon() const
|
||||
|
|
|
@ -6,7 +6,7 @@ QT += core gui widgets
|
|||
QMAKE_CXX = $$system(mapnik-config --cxx)
|
||||
QMAKE_LINK = $$system(mapnik-config --cxx)
|
||||
QMAKE_CXXFLAGS += $$system(mapnik-config --cxxflags)
|
||||
QMAKE_CXXFLAGS += $$system(mapnik-config --includes --dep-includes)
|
||||
QMAKE_CXXFLAGS += $$system(mapnik-config --includes --dep-includes --defines)
|
||||
QMAKE_LFLAGS += $$system(mapnik-config --libs)
|
||||
QMAKE_LFLAGS += $$system(mapnik-config --ldflags --dep-libs)
|
||||
QMAKE_LFLAGS += -lboost_timer
|
||||
|
|
Loading…
Add table
Reference in a new issue