gmp library
I have a nice math library in C, it can be compiled for Linux and Windows using gcc or Visual Studio. The only external dependency is gmp (GNU arbitrary precission library). Now, I want to create a native, QML based app for SailfishOS phone to exploit the interesting functionalities of the library (for those really curious, my app should demonstrate Quine-McCluskey minimization of Boolean functions).
I have some experiences with Qt applications (tried a MeeGo app long time ago), but never used external libraries. Is it possible to use external libraries (e.g. gmp) in SailfishOS apps? I have simply copied the library source code into a Sailfish project and I can see, that all includes are "unknown":
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <gmp.h>
Anybody can help me?