Files
another-boids-in-rust/vendor/ttf-parser-0.20.0/testing-tools/font-view/font-view.pro

51 lines
1.1 KiB
Prolog

QT += widgets
CONFIG += c++14
CONFIG(release, debug|release): LIBS += -L$$PWD/../../c-api/target/release/ -lttfparser
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../c-api/target/debug/ -lttfparser
INCLUDEPATH += $$PWD/../../c-api
DEPENDPATH += $$PWD/../../c-api
SOURCES += \
glyphsview.cpp \
main.cpp \
mainwindow.cpp \
ttfparserfont.cpp
HEADERS += \
glyph.h \
glyphsview.h \
mainwindow.h \
ttfparserfont.h
FORMS += \
mainwindow.ui
macx {
QT_CONFIG -= no-pkg-config
PKG_CONFIG = /opt/homebrew/bin/pkg-config
}
# qmake DEFINES+=WITH_FREETYPE
contains(DEFINES, WITH_FREETYPE) {
SOURCES += freetypefont.cpp
HEADERS += freetypefont.h
CONFIG += link_pkgconfig
PKGCONFIG += freetype2
}
# qmake DEFINES+=WITH_HARFBUZZ HARFBUZZ_SRC=/path/to/harfbuzz-master/
contains(DEFINES, WITH_HARFBUZZ) {
DEFINES += HB_EXPERIMENTAL_API
SOURCES += harfbuzzfont.cpp
HEADERS += harfbuzzfont.h
# harfbuzz should be built with meson
LIBS += -L$$HARFBUZZ_SRC/builddir/src/ -lharfbuzz
INCLUDEPATH += $$HARFBUZZ_SRC/src
}