From 4952baf494f14022026a447c36f4e6f2fe45c696 Mon Sep 17 00:00:00 2001 From: Jiri Drbalek Date: Mon, 9 Oct 2017 11:35:24 +0000 Subject: [PATCH] fix linking of viewer --- demo/viewer/viewer.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/viewer/viewer.pro b/demo/viewer/viewer.pro index aad00b424..d5cf3ee46 100644 --- a/demo/viewer/viewer.pro +++ b/demo/viewer/viewer.pro @@ -3,12 +3,12 @@ ###################################################################### TEMPLATE = app QT += core gui widgets +LIBS += $$system(mapnik-config --libs --dep-libs) 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 --defines) -QMAKE_LFLAGS += $$system(mapnik-config --libs) -QMAKE_LFLAGS += $$system(mapnik-config --ldflags --dep-libs) +QMAKE_LFLAGS += $$system(mapnik-config --ldflags) # Input CONFIG += qt debug_and_release