Make Plugin working in Mac OSX.

This commit is contained in:
Phenom 2016-01-02 14:19:53 +01:00
parent b6b5f9cd17
commit c5e6f62382
5 changed files with 10 additions and 6 deletions

View file

@ -68,7 +68,11 @@ win32 {
}
macx {
#You can found some information here:
#https://developer.apple.com/library/mac/documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html
QMAKE_LFLAGS_PLUGIN -= -dynamiclib
QMAKE_LFLAGS_PLUGIN += -bundle
QMAKE_LFLAGS_PLUGIN += -bundle_loader "../../retroshare-gui/src/RetroShare06.app/Contents/MacOS/RetroShare06"
OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc

View file

@ -121,8 +121,6 @@ macx {
INCLUDEPATH += . $$INC_DIR
LIBS = -lcurl -lxml2 -lxslt -lcrypto
error(Missing RetroShare-gui library. Remove Plugins from RetroShare.pro))
}
openbsd-* {

View file

@ -110,8 +110,6 @@ macx {
message(Use system opencv libraries.)
LIBS += -lopencv_core -lopencv_highgui -lopencv_imgproc
}
error(Missing RetroShare-gui library. Remove Plugins from RetroShare.pro))
}