@@ -40,53 +40,60 @@ section. As of moment there are only 64
## Dependencies
- Qt 5, including SerialPort module
- Qwt 6.1
## Building
### Obtain Dependencies
- Qt5 development packages
- Qt5 SerialPort module
- CMake
- Mercurial
Under Ubuntu/Debian:
```sudo apt-get install qtbase5-dev libqt5serialport5-dev cmake mercurial```
### Download and Install Qwt
[Qwt](http://qwt.sourceforge.net) is the library that provides
plotting widgets for SerialPlot. You have 3 different options for Qwt.
* Leave it to serialplot build scripts. Qwt will be downloaded over
SVN and built for you.
* If your linux distribution has `libqwt-qt5-dev` or `qwt-qt5-devel`
package, install it and set `BUILD_QWT` cmake option to `false`.
* Download Qwt 6 [here](http://sourceforge.net/projects/qwt/files/)
and build it yourself per these
[instructions](http://qwt.sourceforge.net/qwtinstall.html#qwtinstall-unix)
and install. Make sure you use Qt5 (not Qt4) to build. And set
`BUILD_QWT` cmake option to `false`.
### Download and Build SerialPlot
You can use Mercurial to download SerialPlot source code. Or you can
download it from here:
https://bitbucket.org/hyOzd/serialplot/downloads
hg clone https://hyOzd@bitbucket.org/hyOzd/serialplot
cd serialplot
mkdir build && cd build
cmake ..
make
You can also build with QtCreator IDE using `serialplot.pro` file.
## Known Issues
- On Ubuntu 16.04 / Linux Mint 18, removing USB serial device while it
is open in SerialPlot, causes application to go into a nasty loop
and eventually it crashes. This is a bug of Qt 5.5. I have uploaded
a patched version of the problematic `libqt5serialport5` package to
launchpad ppa. If you install SerialPlot from there, you shouldn't
have any problems.
- Port error 13 happens when closing. This is a Qt issue. It's known
to not happen with Qt 5.4.1 . Not fatal.
## License
This software is licensed under GPLv3. See file COPYING for details.
Status change: