- FlySight Viewer should be built using Qt 5.5.1. Later versions of Qt do not include QWebView, which is used by MapView.
- VLC-Qt builds can be found here: https://github.com/vlc-qt/vlc-qt/releases. For Qt 5.5, use VLC-Qt 1.0.
- wwWidgets is located here: http://www.wysota.eu.org/wwwidgets/#download. For Qt 5 compatibility, wwWidgets must be built from source.
- HTTPS requires the OpenSSL binaries. To build OpenSSL using MinGW:
- Download and install MSYS2 from http://www.msys2.org/
- Update the package database as indicated in instructions
- Prepare the MSYS2 build environment as shown here: http://wiki.qt.io/MSYS2
- Follow the instructions here to install OpenSSL: http://wiki.qt.io/Compiling_OpenSSL_with_MinGW
- Copy libeay32.dll and ssleay32.dll to the FlySight Viewer distribution folder
- If this is your first time deploying:
- Install MacPorts (http://macports.org) if needed.
- In Terminal run
port install mysql55
. - Install Homebrew (http://brew.sh) if needed.
- In Terminal run
brew install postgresql
. - In Terminal run:
/path/to/macdeployqt FlySightViewer.app
cp -R /path/to/flysight-viewer-qt/macx/* FlySightViewer.app/Contents/Frameworks
- Open Disk Utility.
- Go to
File > New Image > Blank Image
and create a 450 MB disk image. - Copy
FlySightViewer.app
into the new disk image. - Eject the disk image.
- In Disk Utility, go to
Images > Convert
. - Select the new disk image and click Open.
- Check that
Image Format
is set tocompressed
. - Click Save.
sudo apt install libqt5webkit5-dev
sudo add-apt-repository ppa:ntadej/tano
sudo apt update
sudo apt install libvlc-qt-dev
sudo cp /usr/lib/libVLCQtCore.so /usr/lib/libvlc-qt.so
sudo cp /usr/lib/libVLCQtWidgets.so /usr/lib/libvlc-qt-widgets.so
export QT_SELECT=qt5
# Download wwWidgets source from: http://www.wysota.eu.org/wwwidgets/#download
cd wwWidgets
qmake
make sub-widgets
sudo cp widgets/libwwwidgets4.so /usr/lib/libwwwidgets4.so
sudo cp widgets/libwwwidgets4.so /usr/lib/libwwwidgets4.so.1
# Build FlySightViewer
cd flysight-viewer-qt/src
qmake
make
If you have trouble building FlySight Viewer on Linux, check your Qt version number using the following command:
qmake --version
FlySight Viewer requires Qt version 5.5. If you have a different version installed, you will need to follow these steps to build with Qt 5.5:
- Download Qt 5.5 from https://www.qt.io/download-open-source/. Install to
~/Qt
. - Edit
FlySightViewer.pro
to add the following lines:
LIBS += -L/home/$USER/Qt/5.5/gcc_64/lib
INCLUDEPATH += /home/$USER/Qt/5.5/gcc_64/include
INCLUDEPATH += /home/$USER/Qt/5.5/gcc_64/include/QtCore
- Run
make
again.