[Interest] Using freetype/fontconfig on OS X?
René J.V. Bertin
rjvbertin at gmail.com
Sun Jan 25 19:25:03 CET 2015
On Sunday January 25 2015 12:20:31 René J.V. Bertin wrote:
> > unix:!mac {
> > CONFIG += qpa/genericunixfontdatabase
> > include($$PWD/genericunix/genericunix.pri)
> > contains(QT_CONFIG,fontconfig) {
> > include($$PWD/fontconfig/fontconfig.pri)
> > }
> > }
> >
> > mac {
> > include($$PWD/mac/coretext.pri)
> > }
>
Modifying fontdatabases.pri to read
> !win32|contains(QT_CONFIG, freetype) {
> include($$PWD/basic/basic.pri)
> }
>
> unix {
> CONFIG += qpa/genericunixfontdatabase
> include($$PWD/genericunix/genericunix.pri)
> contains(QT_CONFIG,fontconfig) {
> include($$PWD/fontconfig/fontconfig.pri)
> }
> }
>
> #mac {
> # include($$PWD/mac/coretext.pri)
> #}
gives me a qcocoa.dylib platform plugin that links to libfreetype and libfontconfig ... but apparently without any way to actually use them!
R.
More information about the Interest
mailing list