Build error: CloudCompare does not support versions of Qt prior to 5.4

Feel free to ask any question here
Post Reply
adr_arroyo
Posts: 3
Joined: Tue Apr 11, 2017 8:37 am

Build error: CloudCompare does not support versions of Qt prior to 5.4

Post by adr_arroyo »

Hello everyone, this is my first post here, I am a bit lost.

So I have been trying to install CloudCompare on Ubuntu 14.04 because I want to make comparisons of some pointclouds that I have. The problem is that, when I try to make the CC project: run make from ~/trunk/build (I previously run cmake . ./build inside /trunk folder); I get the error that CloudCompare does not support versions of Qt prior to 5.4. However, I have installed version 5.8 as it is the one that you can directly from its website.
How can i solve this issue?

Regards, Adrian
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Build error: CloudCompare does not support versions of Qt prior to 5.4

Post by daniel »

Indeed, CC can't be compiled with Qt < 5.5. And I bet the two versions are installed on your computer (5.4 and 5.8) and CMake takes the 5.4 by default.

In this case you have to explicitly set the right version to be used. I'm not sure how this is done on Linux, but on Windows one has to make the CMake variable 'QT5_ROOT_PATH' point to the right path. And it may be easier to use cmake gui to do this.
Daniel, CloudCompare admin
adr_arroyo
Posts: 3
Joined: Tue Apr 11, 2017 8:37 am

Re: Build error: CloudCompare does not support versions of Qt prior to 5.4

Post by adr_arroyo »

Hi, sorry for the late answer.

I actually have the variable set like following, as far as I understand it is correct:
echo $QT5_ROOT_PATH
/home/adrian/Qt/5.8/gcc_64/bin
Am I wrong or this comes from a different problem?

Cheers
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Build error: CloudCompare does not support versions of Qt prior to 5.4

Post by daniel »

If I'm not mistaken the 'echo' command is not related to CMake, isn't it?

I think CMake -L will display the list of variables (see https://cmake.org/cmake/help/v3.2/manual/cmake.1.html). I personally prefer the GUI version of CMake ;)
Daniel, CloudCompare admin
Post Reply