Algolia Search is a hosted search engine capable of delivering realtime results from the first keystroke.
The Algolia Search API Client for Qt5 lets you easily use the Algolia Search REST API from your C++ code.
You need a compiler with the support of C++14, git, cmake and of course Qt5.
git clone [email protected]:algolia/algoliasearch-client-qt5.gitcd algoliasearch-client-qt5
mkdir build
cd buildYou need to set the cmake prefix path with the Qt5 path.
For example with clang as compiler and Qt5 in version 5.12.0
cmake -DCMAKE_PREFIX_PATH:PATH=/${HOME}/Qt/5.12.0/clang_64 ..
make -jIf you want to build shared library, you need to run cmake with correct options
cmake -DCMAKE_PREFIX_PATH:PATH=/${HOME}/Qt/5.12.0/clang_64 -DBUILD_SHARED_LIBS:BOOL=ON..
make -jmake installNow you can use the AlgoliaSearch client library.