Support building on macOS

This commit is contained in:
Richard Moe Gustavsen 2019-03-05 11:55:00 +01:00
parent 6a82c9ba22
commit ca9fb01919
2 changed files with 8 additions and 0 deletions

1
.qmake.conf Normal file
View File

@ -0,0 +1 @@
QMAKEFEATURES=$$PWD/features

View File

@ -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
}