/NanoVNA-QT

PC GUI software for NanoVNA V2

Primary LanguageCGNU General Public License v2.0GPL-2.0

NanoVNA-QT

PC GUI software for NanoVNA V2 series (V2 Plus4/V2 Plus4 Pro).

NanoVNA V2配套的PC软件,可用于实时网络分析和测量。

Downloads / 下载

https://nanorfe.com/nanovna-v2-software.html

Screenshots / 截图

Open circuited coax stub / 开路同轴电缆

Antenna / 天线

Time to fault / 障碍距离

编译 / Building the software

Linux系统下编译 / Building on Linux

编译 libxavna:

sudo apt-get install automake libtool make g++ libeigen3-dev libfftw3-dev
cd /PATH/TO/NanoVNA-QT
autoreconf --install
./configure
make
cd libxavna/xavna_mock_ui/
/PATH/TO/qmake
make

编译 QT 界面:

sudo apt-get install libqt5charts5-dev
cd /PATH/TO/NanoVNA-QT
cd vna_qt
/PATH/TO/qmake
make
export QT=/PATH/TO/QT # optional, e.g. ~/qt/5.10.1/gcc_64
../run ./vna_qt

Mac系统下编译 / Building on mac os

MacPorts:

sudo port install NanoVNA-QT
# result in /Applications/MacPorts/NanoVNA-QT.app

Homebrew:

brew install automake libtool make eigen fftw
cd /PATH/TO/NanoVNA-QT
./deploy_macos.sh
# result is in ./vna_qt/vna_qt.app

Linux系统下编译Windows目标 / Cross-compile for windows (from Linux)

Prerequisites:

sudo apt-get install python make autoconf automake autopoint bison flex gperf intltool libtool libtool-bin lzip ruby unzip p7zip-full libgdk-pixbuf2.0-dev libssl-dev libeigen3-dev fftw3-dev mingw-w64

下载与编译 MXE:

cd ~/
git clone https://github.com/mxe/mxe.git
cd mxe
echo "MXE_TARGETS := i686-w64-mingw32.shared" >> settings.mk
export QT_MXE_ARCH=386
make qt5 qtcharts cc eigen fftw pthreads

编译 Application:

cd ~/
git clone https://github.com/nanovna/NanoVNA-QT.git
cd NanoVNA-QT
export PATH="~/mxe/usr/bin:$PATH"
./deploy_windows.sh
# Result is in ./vna_qt_windows.zip

Tested on a fresh install of Ubuntu 18.04 LTS.