From ca9fb019197fb154a367e21b8e93121031fb6fb5 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Tue, 5 Mar 2019 11:55:00 +0100 Subject: [PATCH] Support building on macOS --- .qmake.conf | 1 + features/default_post.prf | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .qmake.conf create mode 100644 features/default_post.prf diff --git a/.qmake.conf b/.qmake.conf new file mode 100644 index 00000000..d1ede79b --- /dev/null +++ b/.qmake.conf @@ -0,0 +1 @@ +QMAKEFEATURES=$$PWD/features diff --git a/features/default_post.prf b/features/default_post.prf new file mode 100644 index 00000000..50de9df4 --- /dev/null +++ b/features/default_post.prf @@ -0,0 +1,7 @@ +load(default_post) + +darwin:equals(TEMPLATE, lib) { + # Add install name to all libraries, including plugins + LIBS += -Wl,-install_name,@rpath/lib$${TARGET}.dylib +} +