CloudCompare Build Problem

  • I want to build the source code of CloudCompare (an open source software) in Qt creator and this software is originally built in Qt only but there are many issues, and most important is its compatibility with cmake .
    I have explored each and every forum regarding this but I am still empty handed.
    Please help.

  • @navya.dubey

    Hi and welcome to devnet

    For getting some help, it is best to state what your actual problem is with some error output or similar.

    Also it helps to give some details on the OS, Qt and Qt creator versions you are using.

  • While building the project Error is being generated ":-1: error: No rule to make target 'all'. Stop."
    I am using Qt creator 5.8 msvc 2013 on windows 8.

  • Did you follow this guide ?

    an example build script for your configuration should look something like:

    CALL "C:/Qt/5.8/msvc2013/bin/qtenv2.bat"
    CALL "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat"
    echo on
    mkdir build
    cd build
    nmake install
    cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C:/CloudCompare -DCMAKE_BUILD_TYPE=RELEASE ../

  • What if I want to add my own GUI along with the code of CloudCompare , any way to do that?

  • Yep, just browse the code, identify the parts you want to use, isolate them and move them to your program. it's mostly copy-pasting from text files so technically easy if you know what you are looking for

  • When I am building my project then it shows the inbuilt header files of Qt as "No such file or directory exist"
    Do I need to set path with every include statement in my project?

Log in to reply