Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CMake Error: "Could not find QCA"

Tags:

qgis

I'm trying to run CMake on the latest clone of QGIS, but I'm getting this error:

Found SpatiaLite: C:/OSGeo4W/lib/spatialite_i.lib
Looking for gaiaDropTable in C:/OSGeo4W/lib/spatialite_i.lib
Looking for gaiaDropTable in C:/OSGeo4W/lib/spatialite_i.lib - found
Looking for gaiaStatisticsInvalidate in C:/OSGeo4W/lib/spatialite_i.lib
Looking for gaiaStatisticsInvalidate in C:/OSGeo4W/lib/spatialite_i.lib - not found
Looking for spatialite_init_ex in C:/OSGeo4W/lib/spatialite_i.lib
Looking for spatialite_init_ex in C:/OSGeo4W/lib/spatialite_i.lib - found
...
...
CMake Error at cmake/FindQCA.cmake:58 (message):
  Could not find QCA
Call Stack (most recent call first):
  CMakeLists.txt:312 (FIND_PACKAGE)

Did I set up the build process incorrectly? I'd appreciate any and all help, thanks!

like image 1000
David Avatar asked Dec 20 '25 01:12

David


1 Answers

You need to install libqca2-dev.

sudo apt-get install libqca2-dev

I also had to change the WITH_QWTPOLAR flag to OFF (on the ccmake gui) to be able to compile the sources.

These were the only things I've changed to compile QGIS. I've followed the available documentation to build QGIS.

like image 179
jgrocha Avatar answered Dec 24 '25 11:12

jgrocha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!