# CONFIG += no_poppler TEMPLATE = app TARGET = pykit DEPENDPATH += . INCLUDEPATH += . QT += webkit network gui core # boost_python LIBS += -lboost_python # python QMAKE_CXXFLAGS += $$system(python-config --cflags) QMAKE_CFFLAGS += $$system(python-config --cflags) LIBS += $$system(python-config --ldflags) # Input HEADERS += MainWindow.hh \ Publisher.hh \ PythonPublisher.hh \ Viewer.hh SOURCES += main.cc \ MainWindow.cc \ Publisher.cc \ PythonPublisher.cc \ Viewer.cc # poppler !no_poppler { LIBS += -lpoppler-qt4 -lpoppler HEADERS += PDFWidget.hh SOURCES += PDFWidget.cc DEFINES += POPPLER }