From ad04e44f28a0074d9d7274de8224c5d99667147c Mon Sep 17 00:00:00 2001 From: Andreas Voegele Date: Sun, 8 Oct 2017 22:11:07 +0700 Subject: libraries/pcl: Use QT4 by default. Signed-off-by: Willy Sudiarto Raharjo --- libraries/pcl/README | 3 +++ libraries/pcl/pcl.SlackBuild | 1 + 2 files changed, 4 insertions(+) (limited to 'libraries') diff --git a/libraries/pcl/README b/libraries/pcl/README index 305b1cae46..36a4928f97 100644 --- a/libraries/pcl/README +++ b/libraries/pcl/README @@ -8,6 +8,9 @@ extract keypoints and compute descriptors to recognize objects in the world based on their geometric appearance, and create surfaces from point clouds and visualize them -- to name a few. +Note on QT: Qt4 is used by default. If you only have Qt5, edit the option +-DPCL_QT_VERSION and set it to 5. + Optional dependencies: Available on SlackBuilds: - qhull, cudatoolkit diff --git a/libraries/pcl/pcl.SlackBuild b/libraries/pcl/pcl.SlackBuild index 5712dbb2b5..9d9fb82e25 100644 --- a/libraries/pcl/pcl.SlackBuild +++ b/libraries/pcl/pcl.SlackBuild @@ -75,6 +75,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \ + -DPCL_QT_VERSION=4 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. make -- cgit v1.2.3