From 5229addba7cab29133e78357a6daa47b969ab1b1 Mon Sep 17 00:00:00 2001 From: Bill Bonney Date: Mon, 12 Feb 2024 20:46:01 +1300 Subject: [PATCH] Build: Fix #1309 SDL2 fails in QtCreator --- QGCExternalLibs.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/QGCExternalLibs.pri b/QGCExternalLibs.pri index 1524c8bef..f95b06145 100644 --- a/QGCExternalLibs.pri +++ b/QGCExternalLibs.pri @@ -283,7 +283,8 @@ WindowsBuild : win32 : exists(src/lib/opalrt/OpalApi.h) : exists(C:/OPAL-RT/RT-L # MacBuild { - QMAKE_CXXFLAGS += -F./libs/lib/Frameworks + QMAKE_CXXFLAGS += -F$$BASEDIR/libs/lib/Frameworks + INCLUDEPATH += \ $$BASEDIR/libs/lib/Frameworks/SDL2.framework/Headers