Add define for pdfkit support on mac to .pro files

This commit is contained in:
Felix Kauselmann 2016-10-18 00:56:05 +02:00
parent c74934c822
commit ac6f96ab05
2 changed files with 7 additions and 0 deletions

View File

@ -86,6 +86,10 @@ macx{
#INCLUDEPATH += /usr/local/include/poppler/qt4
#LIBS += -L/usr/local/lib -lpoppler-qt4
#}
#TODO: pdfium support
DEFINES += "USE_PDFKIT"
CONFIG += objective_c
QT += macextras gui-private

View File

@ -76,6 +76,9 @@ macx{
#}
#QT += macextras
#TODO:support for pdfium on mac
DEFINES += "USE_PDFKIT"
LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
OBJECTIVE_SOURCES += $$PWD/../common/pdf_comic.mm