yum install -y git
yum groupinstall -y "Development Tools"
yum install -y qt5-qtbase-devel qt5-qttools-devel qt5-qtbase-mysql qt5-qtbase-postgresql qt5-linguist
yum install -y openssl-devel libtool-ltdl-devel
export CXXFLAGS=-std=c++11
export PATH="/usr/lib64/qt5/bin/:$PATH"
git clone https://github.com/chris2511/xca.git
cd xca
./bootstrap
make
make install
I followed the instructions above, but unfortunately i get errors on CentOS 7 (fresh install):
pki_key.cpp:641:36: error: missing binary operator before token "("
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
^
moc_db_crl.cpp:13:2: error: #error "The header file 'db_crl.h' doesn't include ."
#error "The header file 'db_crl.h' doesn't include ."
^
......
......
base.h:18:21: fatal error : qglobal.h: file or directory not found
#include <qglobal.h>
^
Maybe there is something missing?