mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-03-15 19:41:24 +00:00
Update OSX Build
This commit is contained in:
parent
80ce5e00c9
commit
77ddc7e6ae
7 changed files with 9 additions and 2 deletions
2
makeosxbundle.sh
Executable file
2
makeosxbundle.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
cp ozwdaemon simpleclient.app/Contents/MacOS/
|
||||
$1/bin/macdeployqt simpleclient.app -verbose=2 -always-overwrite -dmg
|
|
@ -2,6 +2,8 @@ QT -= gui
|
|||
|
||||
QT += remoteobjects
|
||||
|
||||
TARGET = ozwdaemon
|
||||
|
||||
CONFIG += c++11 console silent
|
||||
CONFIG -= app_bundle
|
||||
|
||||
|
|
BIN
qt-ozwdaemon/res/ozw_SF2_notext.png
Normal file
BIN
qt-ozwdaemon/res/ozw_SF2_notext.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
qt-ozwdaemon/res/ozw_logo.icns
Normal file
BIN
qt-ozwdaemon/res/ozw_logo.icns
Normal file
Binary file not shown.
BIN
qt-ozwdaemon/res/ozw_logo.ico
Normal file
BIN
qt-ozwdaemon/res/ozw_logo.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue