OS X port of hyOzd / serialplot
An OS X port of SerialPlot - Realtime Plotting Software
OS X binaries and scripts relating to hyOzd/serialplot
The application works on OS X 10.13.6 (High Sierra). It is untested on other OS X verisons.
Full documentation on the OS X build is on Porting serialplot to OS X. A shorter HOWTO is here HOWTO: Port serialplot to OS X.
Built on:
- OS X 10.13.6
- Using QtCreator 4.5
- Using Qt5
- Using Qwt.6.2.0
- Qt5 and Qwt (6.2.0) frameworks are bundled into the application bundle using the script,
otool_serialplot_qwt_cocoa.sh
Important Note: Only run this script when building the application - it is not for general use.
- Run from the directory containing
serialplot.app
,- unless you change
app_bundle_path
to the full path, i.e./Users/username/qtcodeworkspace/serialplot
- unless you change
- It expects the application bundle to be called
serialplot
- unless you change
application
to a different name
- unless you change
- Create the
serialplot.app/Contents/Frameworks
directory manually- if you plan to copy
qwt.framework
over manually first toserialplot.app/Contents/Frameworks
(i.e. the following step) - The directory will be created automatically (by the script) if it does not exist
- if you plan to copy
- Copy
qwt.framework
over manually first toserialplot.app/Contents/Frameworks
, and runinstall_name_tool -change qwt.framework/Versions/6/qwt @rpath/qwt.framework/Versions/6/qwt serialplot.app/Contents/MacOS/serialplot
- unless you set
do_qwt_copy
totrue
. - You may need to change
path_qwt
if theqwt
source directory doesn't share the same parent folder as the directory containing the application bundle
- unless you set
- Copy the Qt frameworks over manually first to
serialplot.app/Contents/Frameworks
,- unless you set
do_copy
totrue
.
- unless you set
- Leave
do_id
asfalse
- Setting the
-id
causes the application to crash (reason unknown)
- Setting the
- Leave
do_qwt
astrue
- This sets
qwt.framework
to point to the bundled Qt frameworks
- This sets
- Leave
do_cocoa
astrue
- This copies over
libqcocoa.dylib
- ifdo_copy
istrue
- This sets the Qt frameworks to point to
libqcocoa.dylib
- This copies over
do_core
does nothing (yet)- It was meant for a test to leave
QtCore.framework
unbundled - to prevent the crash caused by the unbundledlibqcocoa.dylib
- Unimplemented
- It was meant for a test to leave