desarrollostretch
Last change
on this file since 9ebd32a was
1f4adec,
checked in by aosorio <aosorio@…>, 8 years ago
|
Agregado proyecto base, esto luego del dh_make -f
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[1f4adec] | 1 | include(qpdfview.pri) |
---|
| 2 | |
---|
| 3 | TARGET = qpdfview_pdf |
---|
| 4 | TEMPLATE = lib |
---|
| 5 | CONFIG += plugin |
---|
| 6 | static_pdf_plugin:CONFIG += static |
---|
| 7 | |
---|
| 8 | TARGET_SHORT = qpdfpdf |
---|
| 9 | !isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR |
---|
| 10 | |
---|
| 11 | OBJECTS_DIR = objects-pdf |
---|
| 12 | MOC_DIR = moc-pdf |
---|
| 13 | |
---|
| 14 | HEADERS = sources/model.h sources/pdfmodel.h sources/annotationwidgets.h sources/formfieldwidgets.h |
---|
| 15 | SOURCES = sources/pdfmodel.cpp sources/annotationwidgets.cpp sources/formfieldwidgets.cpp |
---|
| 16 | |
---|
| 17 | QT += core xml gui |
---|
| 18 | |
---|
| 19 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
---|
| 20 | |
---|
| 21 | !without_pkgconfig { |
---|
| 22 | poppler_qt_pkg = poppler-qt$${QT_MAJOR_VERSION} |
---|
| 23 | |
---|
| 24 | system(pkg-config --atleast-version=0.14 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_14 |
---|
| 25 | system(pkg-config --atleast-version=0.18 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_18 |
---|
| 26 | system(pkg-config --atleast-version=0.20.1 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_20 |
---|
| 27 | system(pkg-config --atleast-version=0.22 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_22 |
---|
| 28 | system(pkg-config --atleast-version=0.24 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_24 |
---|
| 29 | system(pkg-config --atleast-version=0.26 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_26 |
---|
| 30 | system(pkg-config --atleast-version=0.31 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_31 |
---|
| 31 | system(pkg-config --atleast-version=0.35 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_35 |
---|
| 32 | |
---|
| 33 | CONFIG += link_pkgconfig |
---|
| 34 | PKGCONFIG += $${poppler_qt_pkg} |
---|
| 35 | } else { |
---|
| 36 | DEFINES += $$PDF_PLUGIN_DEFINES |
---|
| 37 | INCLUDEPATH += $$PDF_PLUGIN_INCLUDEPATH |
---|
| 38 | LIBS += $$PDF_PLUGIN_LIBS |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | !static_pdf_plugin { |
---|
| 42 | target.path = $${PLUGIN_INSTALL_PATH} |
---|
| 43 | INSTALLS += target |
---|
| 44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.