Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
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
}