From 97c15c7876dfa29d01190a6827fd7f9b4a33b761 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 4 May 2020 20:25:19 -0700 Subject: [PATCH] Ensure the Info.plist is included for builds in the IDE It is required for SDL_WINDOW_ALLOW_HIGHDPI to work --- app/app.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/app.pro b/app/app.pro index 517d0c3d..ff8e1868 100644 --- a/app/app.pro +++ b/app/app.pro @@ -403,7 +403,10 @@ macx { APP_BUNDLE_FRAMEWORKS.files = $$files(../libs/mac/Frameworks/*.framework, true) $$files(../libs/mac/lib/*.dylib, true) APP_BUNDLE_FRAMEWORKS.path = Contents/Frameworks - QMAKE_BUNDLE_DATA += APP_BUNDLE_RESOURCES APP_BUNDLE_FRAMEWORKS + APP_BUNDLE_PLIST.files = $$OUT_PWD/Info.plist + APP_BUNDLE_PLIST.path = Contents + + QMAKE_BUNDLE_DATA += APP_BUNDLE_RESOURCES APP_BUNDLE_FRAMEWORKS APP_BUNDLE_PLIST QMAKE_RPATHDIR += @executable_path/../Frameworks }