flysight / flysight-viewer-qt

Cross-platform FlySight viewer
GNU General Public License v3.0
31 stars 15 forks source link

wwwidgets dependencies missing. #133

Open epheo opened 3 years ago

epheo commented 3 years ago

Hi, I'm trying to compile Flysight viewer on Linux but http://www.wysota.eu.org/wwwidgets/#download is missing.

Would you be able to provide it ?

Many thanks.

crwper commented 3 years ago

Ah, I think this dependency is no longer required. Are you finding it's needed in compilation, or just following along in the readme?

kirillt commented 3 years ago
[kirill@lenovo flysight-viewer-qt]$ export QT_SELECT=qt5
[kirill@lenovo flysight-viewer-qt]$ cd src/
[kirill@lenovo src]$ qmake
Info: creating stash file /tmp/flysight/flysight-viewer-qt/src/.qmake.stash
Project ERROR: Unknown module(s) in QT: webenginewidgets

This is with Qt 5.9 installed (I couldn't find Qt 5.5 here https://download.qt.io/archive/qt/)

However, qmake states that Qt 5.14.2 is used (might it be due to installed system packages?)

[kirill@lenovo src]$ qmake --version
QMake version 3.1
Using Qt version 5.14.2 in /usr/lib64
crwper commented 3 years ago

The Linux build instructions may be out of date. Last year, we moved from WebKit to WebEngine. The latter was made obsolete after Qt 5.5, so we were stuck there for a while. But with this change, the latest version of Qt should work just fine. Likewise, wwWidgets should no longer be needed.

Perhaps you haven't installed Qt WebEngine? In the current instructions, we have "sudo apt install libqt5webkit5-dev", but this should most likely be replaced with the equivalent for WebEngine.

kirillt commented 3 years ago

@crwper thanks, you've saved my day!

I certainly remember me installing Qt5.9 and checking the checkbox with Qt WebEngine, but somehow it doesn't work. So, I've installed qt5-qtwebengine-devel and vlc-devel (Fedora), compiled and installed vlc-qt and FlySight Viewer compiled successfully. I had to create couple of symlinks manually though:

cd /usr/local/lib64/
sudo ln libVLCQtCore.so -s libvlc-qt.so
sudo ln libVLCQtWidgets.so -s libvlc-qt-widgets.so

Now, the viewer opens and draws my tracks just fine.