Skip to content

greenonline/serialplot_OS_X_port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

serialplot_OS_X_port

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

Running 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
  • It expects the application bundle to be called serialplot
    • unless you change application to a different name
  • Create the serialplot.app/Contents/Frameworks directory manually
    • if you plan to copy qwt.framework over manually first to serialplot.app/Contents/Frameworks (i.e. the following step)
    • The directory will be created automatically (by the script) if it does not exist
  • Copy qwt.framework over manually first to serialplot.app/Contents/Frameworks, and run install_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 to true.
    • You may need to change path_qwt if the qwt source directory doesn't share the same parent folder as the directory containing the application bundle
  • Copy the Qt frameworks over manually first to serialplot.app/Contents/Frameworks,
    • unless you set do_copy to true.
  • Leave do_id as false
    • Setting the -id causes the application to crash (reason unknown)
  • Leave do_qwt as true
    • This sets qwt.framework to point to the bundled Qt frameworks
  • Leave do_cocoa as true
    • This copies over libqcocoa.dylib - if do_copy is true
    • This sets the Qt frameworks to point to libqcocoa.dylib
  • do_core does nothing (yet)
    • It was meant for a test to leave QtCore.framework unbundled - to prevent the crash caused by the unbundled libqcocoa.dylib
    • Unimplemented

serialplot running on OS X 10.13.6

About

OS X port of hyOzd / serialplot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages