Fix Mac OSX build issues

This commit is contained in:
Roland Winklmeier
2015-05-06 15:55:14 +02:00
parent 647c5c2de8
commit 51c1566824
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ include (externals.pri)
LIBS *= -L$$BuildRoot/lib
unix {
unix:!macx {
# Set the rpath-link to find dependent shared libraries when linking
# Note: This does not add any rpath into the binaries.
LIBS += -Wl,-rpath-link,$$BuildRoot/lib

View File

@@ -1,7 +1,7 @@
include ($$SourceRoot/config.pri)
include ($$SourceRoot/build.pri)
QT += network dbus gui multimedia
QT += network dbus gui widgets multimedia
TARGET = blackinput
TEMPLATE = lib
@@ -40,6 +40,7 @@ macx {
HEADERS += $$PWD/osx/*.h
SOURCES += $$PWD/osx/*.cpp
OBJECTIVE_SOURCES += $$PWD/osx/*.mm
LIBS *= -framework CoreFoundation -framework ApplicationServices -framework Foundation -framework AppKit
}
DESTDIR = $$BuildRoot/lib