2020-03-15 02:50:57 +00:00
# How to install wfview
### 1. Install prerequisites:
(Note, some packages may have slightly different version numbers, this should be ok for minor differences.)
~~~
sudo apt-get install build-essential
sudo apt-get install qt5-qmake
sudo apt-get install qt5-default
sudo apt-get install libqt5core5a
sudo apt-get install qtbase5-dev
sudo apt-get install libqt5serialport5 libqt5serialport5-dev
2021-02-12 07:32:14 +00:00
sudo apt-get install libqt5multimedia5
sudo apt-get install libqt5multimedia5-plugins
sudo apt-get install qtmultimedia5-dev
2020-03-15 02:50:57 +00:00
sudo apt-get install git
2020-04-03 23:23:10 +00:00
~~~
Now you need to install qcustomplot. There are two versions that are commonly found in linux distros: 1.3 and 2.0. Either will work fine. If you are not sure which version your linux install comes with, simply run both commands. One will work and the other will fail, and that's fine!
qcustomplot1.3 for older linux versions (Linux Mint 19.x, Ubuntu 18.04):
~~~
2020-03-28 00:53:04 +00:00
sudo apt-get install libqcustomplot1.3 libqcustomplot-doc libqcustomplot-dev
2020-04-03 23:23:10 +00:00
~~~
2020-10-16 23:37:52 +00:00
qcustomplot2 for newer linux versions (Linux Mint 20, Ubuntu 19, Rasbian V?, Debian 10):
2020-04-03 23:23:10 +00:00
~~~
2020-04-05 00:50:47 +00:00
sudo apt-get install libqcustomplot2.0 libqcustomplot-doc libqcustomplot-dev
2020-03-15 02:50:57 +00:00
~~~
2020-04-03 23:23:10 +00:00
2020-03-15 02:50:57 +00:00
optional for those that want to work on the code using the QT Creator IDE:
~~~
sudo apt-get install qtcreator qtcreator-doc
~~~
### 2. Clone wfview to a local directory on your computer:
~~~
cd ~/Documents
git clone https://gitlab.com/eliggett/wfview.git
~~~
### 3. Create a build directory, compile, and install:
~~~
mkdir build
cd build
qmake ../wfview/wfview.pro
make -j
sudo ./install.sh
~~~
2020-04-07 21:33:15 +00:00
2020-03-15 02:50:57 +00:00
### 4. You can now launch wfview, either from the terminal or from your desktop environment. If you encounter issues using the serial port, run the following command:
~~~
2021-03-24 07:01:13 +00:00
if you are using the wireless 705 or any networked rig like the 7610, 7800, 785x, there is no need to use USB so below is not needed.
2020-03-15 02:50:57 +00:00
sudo chown $USER /dev/ttyUSB*
2021-04-29 05:07:47 +00:00
Note, on most linux systems, you just need to add your user to the dialout group, which is persistent and more secure:
2021-02-03 18:57:22 +00:00
2021-04-29 05:07:47 +00:00
~~~
2021-02-10 12:39:30 +00:00
sudo usermod -aG dialout $USER
2021-04-29 05:07:47 +00:00
~~~
2021-02-10 12:39:30 +00:00
(don't forget to log out and log in)
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
~~~
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
### opensuse/sles/tumbleweed install ###
2021-02-03 18:57:22 +00:00
---
2021-03-24 07:01:13 +00:00
install wfview on suse 15.x sles 15.x or tumbleweed; this was done on a clean install/updated OS.
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
we need to add packages to be able to build the stuff.
2021-02-03 18:57:22 +00:00
2021-02-03 19:07:25 +00:00
- sudo zypper in --type pattern devel_basis
2021-03-23 20:16:47 +00:00
- sudo zypper in libQt5Widgets-devel libqt5-qtbase-common-devel libqt5-qtserialport-devel libQt5SerialPort5 qcustomplot-devel libqcustomplot2 libQt5PrintSupport-devel libqt5-qtmultimedia-devel
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
now get and install qt5:
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
- wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
2021-02-03 19:07:25 +00:00
- chmod +x qt-unified-linux-x64-online.run
2021-03-24 07:01:13 +00:00
2021-02-03 19:07:25 +00:00
- kdesu ./qt-unified-linux-x64-online.run
2021-03-24 07:01:13 +00:00
install Qt 5.15.2 for GCC for desktop application development
2021-03-23 20:16:47 +00:00
2021-03-24 07:01:13 +00:00
when done, create the place where to build:
2021-03-23 20:16:47 +00:00
2021-03-24 07:01:13 +00:00
in this case, use your homedir:
2021-02-03 19:07:25 +00:00
2021-03-24 07:01:13 +00:00
- mkdir -p ~/src/build && cd src
2021-02-03 19:07:25 +00:00
- git clone https://gitlab.com/eliggett/wfview.git
- cd build
2021-03-24 07:01:13 +00:00
- qmake-qt5 ../wfview/wfview.pro
2021-02-03 19:07:25 +00:00
- make -j
- sudo ./install.sh
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
wfview is now installed in /usr/local/bin
2021-02-03 18:57:22 +00:00
---