On 04/01/2019 15:55, nick wrote:
I did not compile Qt. I used the .run file from here...
Could it be that builds are backwards compatible but not forward
compatible with respect to Qt versions? e.g. a build using 5.8.1 would
run on say 5.5, but not on 5.9.7?
Hi Nick,
ok, I understand now. Yes should build WSJT-X using the headers and
libraries you intend to run with. You may get success by setting
LD_LIBRARY_PATH to point at the libraries directory of your Qt 5.9.7
install:
LD_LIBRARY_PATH=$HOME/Qt5.9.7/5.9.7/gcc_64/lib:$LD_LIBRARY_PATH ~/bin/wsjtx
I would run it like this rather than changing PATH and LD_LIBRARY_PATH
in your login scripts since that may well break other applications
linked to the system Qt version. Adjust for your install path for WSJT-X.
I think you should reconfigure and rebuild WSJT-X using
-DCMAKE_PREFIX_PATH=~/Qt5.9.7/5.9.7/gcc_64 in the WSJT-X configure step.
If you are building using the combined WSJT-X and Hamlib sources tarball
then it may be a bit mode complex and might need a small patch to pick
up your local Qt v5.9.7 installation. The required patch is to edit the
CMakeLists.txt file and edit line 140 from:
-DCMAKE_PREFIX_PATH=${INSTALL_DIR}
to
-DCMAKE_PREFIX_PATH=${INSTALL_DIR};~/Qt5.9.7/5.9.7/gcc_64
73
Bill
G4WJS.
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel