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_pathto the full path, i.e./Users/username/qtcodeworkspace/serialplot
- unless you change
- It expects the application bundle to be called
serialplot- unless you change
applicationto a different name
- unless you change
- Create the
serialplot.app/Contents/Frameworksdirectory manually- if you plan to copy
qwt.frameworkover 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.frameworkover 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_copytotrue. - You may need to change
path_qwtif theqwtsource 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_copytotrue.
- unless you set
- Leave
do_idasfalse- Setting the
-idcauses the application to crash (reason unknown)
- Setting the
- Leave
do_qwtastrue- This sets
qwt.frameworkto point to the bundled Qt frameworks
- This sets
- Leave
do_cocoaastrue- This copies over
libqcocoa.dylib- ifdo_copyistrue - This sets the Qt frameworks to point to
libqcocoa.dylib
- This copies over
do_coredoes nothing (yet)- It was meant for a test to leave
QtCore.frameworkunbundled - to prevent the crash caused by the unbundledlibqcocoa.dylib - Unimplemented
- It was meant for a test to leave
