Skip to content

A simple example program using QT5/Qwt widgets demonstrating realtime plotting of data under Linux.

Notifications You must be signed in to change notification settings

perezmeyer/qwt-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QwtExample

A simple example program using Qt/Qwt widgets to be used as a base for students doing Raspberry Pi data acquisition. It also creates a Thread which could be used to acquire ADC data with the help of poll/select and storing it in a ringbuffer.

alt tag

Making it work

Install the QT5 and Qwt development packages:

    apt-get install qtdeclarative5-dev-tools
    apt-get install libqwt-qt5-dev

To clone the git repository:

    git clone https://github.com/glasgow-bio/qwt-example

To build:

    cd qwt-example
    qmake
    make

To run (assuming you are logged into the RPi over ssh and no X-server is running):

    startx ./QwtExample

or with X running

    ./QwtExample

About

A simple example program using QT5/Qwt widgets demonstrating realtime plotting of data under Linux.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 91.5%
  • QMake 8.5%