From 6a3dfcaaa7f80322d23f173105a93c220cfe5a5a Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Thu, 25 Dec 2014 23:37:36 +0100 Subject: Make qmake work for Qt5 on Mac Set special build marble path properly and enable pkg-config Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- subsurface-configure.pri | 2 +- subsurface.pro | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/subsurface-configure.pri b/subsurface-configure.pri index d2092d3ac..05bfbb0f5 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -156,7 +156,7 @@ contains(QMAKE_PLATFORM, android): DEFINES += NO_MARBLE NO_USERMANUAL NO_PRINTIN !isEmpty(LIBMARBLEDEVEL) { # find it next to our sources INCLUDEPATH += $$LIBMARBLEDEVEL/include - LIBS += -L$$LIBMARBLEDEVEL/lib + LIBS += -L$$LIBMARBLEDEVEL/src/lib/marble } !contains(DEFINES, NO_MARBLE) { win32: CONFIG(debug, debug|release): LIBS += -lmarblewidgetd diff --git a/subsurface.pro b/subsurface.pro index fb0d9b7e4..02a416e88 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -2,6 +2,7 @@ CODECFORTR = UTF-8 CODECFORSRC = UTF-8 include(subsurface-configure.pri) +QT_CONFIG -= no-pkg-config QT = core gui network svg lessThan(QT_MAJOR_VERSION, 5) { QT += webkit -- cgit v1.2.3-70-g09d2