From 5c3ae4c3d61fd028e03a59d0a897bea3d259d8e4 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 25 Apr 2016 14:31:59 +0300 Subject: [PATCH] [Qt] Only include and link with QMapboxGL lib Fixes #4808 --- platform/qt/app/qmapboxgl.gypi | 5 ++--- platform/qt/platform.gyp | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/platform/qt/app/qmapboxgl.gypi b/platform/qt/app/qmapboxgl.gypi index 4a42d2c7a..d3588a766 100644 --- a/platform/qt/app/qmapboxgl.gypi +++ b/platform/qt/app/qmapboxgl.gypi @@ -10,7 +10,7 @@ ], 'dependencies': [ - 'platform-lib', + 'qt-lib', ], 'sources': [ @@ -21,7 +21,6 @@ 'include_dirs': [ '../include', - '../../../include', ], 'variables': { @@ -41,7 +40,7 @@ ['OS == "mac"', { 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags)' ], - 'OTHER_LDFLAGS': [ '<@(ldflags)', '-framework OpenGL' ], + 'OTHER_LDFLAGS': [ '<@(ldflags)' ], }, }, { 'cflags_cc': [ '<@(cflags)' ], diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp index fb73c00ce..d4f7dbc60 100644 --- a/platform/qt/platform.gyp +++ b/platform/qt/platform.gyp @@ -140,7 +140,6 @@ 'link_settings': { 'conditions': [ ['OS == "mac"', { - 'libraries': [ '-framework OpenGL' ], 'xcode_settings': { 'OTHER_LDFLAGS': [ '-all_load' ] } }] ],