~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to qpdfview-application.pro

  • Committer: Adam Reichold
  • Date: 2013-01-12 12:35:57 UTC
  • Revision ID: adamreichold@myopera.com-20130112123557-rjxbuefqspxg7wkh
prepare build system for DjVu plug-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
    DEFINES += PS_PLUGIN_NAME=\\\"$${PS_PLUGIN_NAME}\\\"
105
105
}
106
106
 
 
107
!without_djvu {
 
108
    DEFINES += WITH_DJVU
 
109
 
 
110
    static_djvu_plugin {
 
111
        isEmpty(DJVU_PLUGIN_NAME):DJVU_PLUGIN_NAME = libqpdfview_djvu.a
 
112
 
 
113
        DEFINES += STATIC_DJVU_PLUGIN
 
114
        LIBS += $$DJVU_PLUGIN_NAME
 
115
        PRE_TARGETDEPS += $$DJVU_PLUGIN_NAME
 
116
 
 
117
        !without_pkgconfig {
 
118
            CONFIG += link_pkgconfig
 
119
            PKGCONFIG += ddjvuapi
 
120
        }
 
121
    } else {
 
122
        isEmpty(DJVU_PLUGIN_NAME):DJVU_PLUGIN_NAME = libqpdfview_djvu.so
 
123
    }
 
124
 
 
125
    DEFINES += DJVU_PLUGIN_NAME=\\\"$${DJVU_PLUGIN_NAME}\\\"
 
126
}
 
127
 
107
128
!without_cups {
108
129
    DEFINES += WITH_CUPS
109
130
    LIBS += $$system(cups-config --libs)