I include freetype and header, not I can find functions, but in building say me: error: undefined reference to FT_Init_FreeType
I read something, but my folder don't have lib file to add in pro file.
I download libary here, version 2.6.
How can I fix dat problem?
#include <freetype-2.6/include/ft2build.h>
#include FT_FREETYPE_H
....
FT_Library ft;
if(FT_Init_FreeType(&ft)) {
std::cout << "ERROR::FREETYPE: Could not init FreeType Library" << std::endl;
}