Difference between revisions of "Mac OS X"

From sigrok
Jump to navigation Jump to search
m
Line 3: Line 3:
This page describes how to build sigrok on Mac OS X.
This page describes how to build sigrok on Mac OS X.


The gui from the flosslogic project is not integrated into sigrok yet, that means that the rest of the page is not applicable yet. Will be soon though.
== How to build and run the Qt GUI ==


== How to build and run the QT GUI ==
  $ '''./autogen.sh --prefix=/opt/mine/DIR/sigrok-git'''
  ./configure --prefix=/opt/mine/DIR/sigrok-git
  $ '''cd /opt/mine/DIR'''
  cd /opt/mine/DIR
  $ '''sudo stow sigrok-git'''
  sudo stow sigrok-git
  $ '''cd -'''
  cd -
  $ '''cd frontend/gui'''
  cd frontend/gui
  $ '''qmake -spec macx-g++'''
  qmake -spec macx-g++
  $ '''make'''
  make
  $ '''open sigrok-gui.app'''
  open sigrok-gui.app


== Notes ==
== Notes ==

Revision as of 04:08, 27 March 2010

sigrok-gui on Mac OS X

This page describes how to build sigrok on Mac OS X.

How to build and run the Qt GUI

$ ./autogen.sh --prefix=/opt/mine/DIR/sigrok-git
$ cd /opt/mine/DIR
$ sudo stow sigrok-git
$ cd -
$ cd frontend/gui
$ qmake -spec macx-g++
$ make
$ open sigrok-gui.app

Notes

To build on Snow Leopard (10.6) you need to use the Cocoa (32bit and 64bit) Qt libraries. You can get them here. Don't use the default download link on that page but the one you can find further down the page.

Currently we are using macports for the libusb dependency and are relying on the fact that macports are installed in /opt/local.

TODO

  • Find a sane way to bundle libusb with the sigrok.app.
  • Include an icon with the app.

Resources