Hi Bill

just some feedback on building wsjtx-2.0.0 with Qt5.9.7. Please see comments below.

73
Nick

On 04/01/2019 17:30, Bill Somerville wrote:

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.

OK this worked...

build $ cmake -DCMAKE_PREFIX_PATH="~/hamlib-prefix;/opt/Qt5.9.7" -DQt_DIR:PATH=/opt/Qt5.9.7/lib/cmake/Qt5 -DCMAKE_INSTALL_PREFIX=~/wsjtx/wsjtx-2.0.0_2 ../wsjtx

build $ cmake --build .
build $ cmake --build . --target install

The cmake line failed without /opt/Qt5.9.7 in the CMAKE_PREFIX_PATH with Q_ENUM errors.

Tried it with /opt/Qt5.8 which worked previously, but today failed with same errors.

Tried it with a Qt5.11.3 installation.  That failed because

"Qt 5 Widgets module requires at least CMake version 3.1.0".

$ /usr/bin/cmake --version
cmake version 2.8.12.2

The cmake line without -DQt_DIR:PATH=/opt/Qt5.9.7/lib/cmake/Qt5 also appeared to work.

In my wsjtx startup script...

LD_LIBRARY_PATH=/opt/Qt5.9.7:$LD_LIBRARY_PATH ~/wsjtx/wsjtx-2.0.0/bin/wsjtx

works, but so does

~/wsjtx/wsjtx-2.0.0/bin/wsjtx

It looks like LD_LIBRARY_PATH is not needed provided

/usr/lib/x86_64-linux-gnu//qt-default/qtchooser/default.conf -> /usr/share/qtchooser/qt5.9.7.conf


_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to