[Qgis-developer] Building on Ubuntu 14.04

Sandro Santilli strk at kbt.io
Sat Sep 24 07:34:36 PDT 2016


On Sat, Sep 24, 2016 at 04:31:23PM +0200, Sandro Santilli wrote:
> I'm trying to build the master branch on Ubuntu 14.04.5 
> but the build configuration fails with:
> 
>   CMake Error at cmake/FindQCA.cmake:60 (message):
>     Could not find QCA
>   Call Stack (most recent call first):
>     CMakeLists.txt:296 (FIND_PACKAGE)
> 
> I have libqca2-dev installed, and 2.14 branch builds just fine:
> 
>  -- Found QCA: /usr/lib/x86_64-linux-gnu/libqca.so (2.0.3)
>  -- Found QCA OpenSSL plugin
> 
> What changed between 2.14 and master wrt QCA ?

This seems to have changed:

  diff qgis-2.14/cmake/FindQCA.cmake qgis/cmake/FindQCA.cmake
  23,27c23
  <   if(ENABLE_QT5)
  <     set(QCA_LIBRARY_NAMES qca-qt5 qca2-qt5)
  <   else(ENABLE_QT5)
  <     set(QCA_LIBRARY_NAMES qca qca2)
  <   endif(ENABLE_QT5)
  ---
  >   set(QCA_LIBRARY_NAMES qca-qt5 qca2-qt5)
  52c48
  <       PATH_SUFFIXES QtCrypto qt4/QtCrypto Qca-qt5/QtCrypto
  ---
  >       PATH_SUFFIXES QtCrypto qt5/QtCrypto Qca-qt5/QtCrypto

It looks like qca-qt5 is not packaged for ubuntu 14.04,
can I disable it ?

--strk;


More information about the Qgis-developer mailing list