Discussion:
QT5 compile cmake switch
Trevor Young
2017-04-07 18:51:44 UTC
Permalink
In order to compile for qt5 libs, it is mentioned that a switch needs to be
made somewhere. Could someone elaborate on this? I'm not so knowledgeable
on this sort of thing.

Thanks
--
Trevor Young
Senior Marine Technician
Ocean Technology Group
University of Hawaii Marine Center
C Barth Netterfield
2017-04-08 20:35:27 UTC
Permalink
Hi, Trevor,

In Linux, something like this works:

from the kst source directory:

mkdir ../kst-build-dir
cd ../kst-build-dir
cmake -Dkst_qt5=1 -Dkst_release=1 ../kst
make

./build/bin/kst2

I just put a link from the executable to /usr/local/bin on my devel machine
rather than installing.

cbn
Post by Trevor Young
In order to compile for qt5 libs, it is mentioned that a switch needs to be
made somewhere. Could someone elaborate on this? I'm not so knowledgeable
on this sort of thing.
Thanks
Loading...