~ubuntu-branches/debian/sid/qpdfview/sid

« back to all changes in this revision

Viewing changes to qpdfview-pdf-plugin.pro

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-07-30 00:00:25 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130730000025-lsj8rjj0brpaj5ve
Tags: 0.4.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
CONFIG += plugin
6
6
static_pdf_plugin:CONFIG += static
7
7
 
 
8
TARGET_SHORT = qpdfpdf
 
9
!isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR
 
10
 
8
11
OBJECTS_DIR = objects-pdf
9
12
MOC_DIR = moc-pdf
10
13
 
16
19
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
17
20
 
18
21
!without_pkgconfig {
 
22
    poppler_qt_pkg = poppler-qt$${QT_MAJOR_VERSION}
 
23
 
19
24
    CONFIG += link_pkgconfig
20
 
    PKGCONFIG += poppler-qt4
 
25
    PKGCONFIG += $${poppler_qt_pkg}
21
26
 
22
 
    system(pkg-config --atleast-version=0.14 poppler-qt4):DEFINES += HAS_POPPLER_14
23
 
    system(pkg-config --atleast-version=0.18 poppler-qt4):DEFINES += HAS_POPPLER_18
24
 
    system(pkg-config --atleast-version=0.20.1 poppler-qt4):DEFINES += HAS_POPPLER_20
25
 
    system(pkg-config --atleast-version=0.22 poppler-qt4):DEFINES += HAS_POPPLER_22
26
 
    system(pkg-config --atleast-version=0.24 poppler-qt4):DEFINES += HAS_POPPLER_24
 
27
    system(pkg-config --atleast-version=0.14 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_14
 
28
    system(pkg-config --atleast-version=0.18 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_18
 
29
    system(pkg-config --atleast-version=0.20.1 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_20
 
30
    system(pkg-config --atleast-version=0.22 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_22
 
31
    system(pkg-config --atleast-version=0.24 $${poppler_qt_pkg}):DEFINES += HAS_POPPLER_24
 
32
} else {
 
33
    DEFINES += $$PDF_PLUGIN_DEFINES
 
34
    INCLUDEPATH += $$PDF_PLUGIN_INCLUDEPATH
 
35
    LIBS += $$PDF_PLUGIN_LIBS
27
36
}
28
37
 
29
38
!static_pdf_plugin {