Page 1 of 1

Visualize pointcloud via socket stream

Posted: Thu Nov 06, 2014 5:21 pm
by t1h
Hello,
thank you for your helpful application.
I intend to patch ccviewer to open a port to visualize point clouds from stream.
Sadly I don't understand how you use qt within your cmake files and am stuck linking against qtnetwork.
What's a proper way to add the qtnetwork module to your cmake list?

Best,
th

Re: Visualize pointcloud via socket stream

Posted: Thu Nov 06, 2014 5:53 pm
by daniel
To include another Qt package, simply edit the 'CMakeExternalLibs.cmake' file in the root folder.

For Qt4

Code: Select all

find_package( Qt4 ${QT_VERSION} COMPONENTS QtMain QtCore ... REQUIRED )
For Qt5 it's slightly easier:

Code: Select all

find_package(Qt5Concurrent REQUIRED)