Update OSX Build

This commit is contained in:
Justin Hammond 2019-07-01 17:11:28 +08:00
parent 80ce5e00c9
commit 77ddc7e6ae
7 changed files with 9 additions and 2 deletions

2
makeosxbundle.sh Executable file
View file

@ -0,0 +1,2 @@
cp ozwdaemon simpleclient.app/Contents/MacOS/
$1/bin/macdeployqt simpleclient.app -verbose=2 -always-overwrite -dmg

View file

@ -2,6 +2,8 @@ QT -= gui
QT += remoteobjects
TARGET = ozwdaemon
CONFIG += c++11 console silent
CONFIG -= app_bundle

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -1,6 +1,8 @@
QT += widgets remoteobjects testlib
TARGET = ../simpleclient
CONFIG += silent
DEFINES += remote
@ -36,7 +38,7 @@ INCLUDEPATH += ../qt-openzwave/include/
macx {
ICON = res/ozw_logo.icns
LIBOZW.files = ../../open-zwave/libopenzwave-1.6.dylib ../qt-openzwave/libqt-openzwave.1.0.dylib
LIBOZW.files = ../../open-zwave/libopenzwave-1.6.dylib ../qt-openzwave/libqt-openzwave.1.dylib
LIBOZW.path = Contents/Frameworks/
QMAKE_BUNDLE_DATA += BUNDLE LIBOZW
QMAKE_POST_LINK=$$top_srcdir/updaterpath.sh $(TARGET)

View file

@ -1,3 +1,4 @@
#!/bin/sh
OZWPATH=`otool -L $1 | grep libopenzwave | awk '{print $1}'`
OZWPATH=`otool -L $1 | grep libopenzwave | grep compatibility | awk '{print $1}'`
echo $OZWPATH
install_name_tool -change $OZWPATH @rpath/libopenzwave-1.6.dylib $1