Unsolved Cgal Computational Geometry algorithms integration with QT
-
I am new to the QT and I want to build some of the computational geometry algorithms in QT. the name of the library is Cgal. There are also installation guide provided on the following webpage,
https://doc.cgal.org/latest/Manual/installation.html
Anyone has an idea how to integrate it with QT? I have tried but it can not import the headers. I am using Qt on linux platform.
-
Hi and welcome to devnet forum
There is some guidance on integration of 3rd party libraries in Qt available.
-
I do not have third party folder when I create a project.!!
-
Why should you?
The example names are just for explanation of how to integrate a third party library. The 3rd party library is integrated through relative path within your actual project. However, you may place the 3rd party stuff anywhere and your PC.
Basically you have to download and install the 3rd party library independent of Qt. You need to know the path to the includes and add this as relative or absolute path to INCLUDEPATH
You have to ensure that the libraries are compiled correctly for Qt installation (32 vs 64 bit, compiler andsome stuff). You need to locate the required libraries and setup absolute or relative path and libraries in LIBS