source: trunk/config.tests/x11/fontconfig/fontconfig.cpp@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 450 bytes
Line 
1#include <ft2build.h>
2#include FT_FREETYPE_H
3#include <fontconfig/fontconfig.h>
4
5#ifndef FC_RGBA_UNKNOWN
6# error "This version of fontconfig is tool old, it is missing the FC_RGBA_UNKNOWN define"
7#endif
8
9#if ((FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) < 20103)
10# error "This version of freetype is too old."
11#endif
12
13int main(int, char **)
14{
15 FT_Face face;
16 face = 0;
17 FcPattern *pattern;
18 pattern = 0;
19 return 0;
20}
Note: See TracBrowser for help on using the repository browser.