← Back to team overview

qpdfview team mailing list archive

Re: [Question #668248]: Query Regarding Dynamic location of libqpdfview_pdf.so

 

Question #668248 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/668248

    Status: Open => Answered

Adam Reichold proposed the following answer:
Hello Anupam,

qpdfview will look for its plug-in libraries into places: Locally in the
same directory as the binary itself is stored and global in a compile-
time defined path, usually /usr/lib/qpdfview. If you want to change the
global path, you can set the variable PLUGIN_INSTALL_PATH via qmake
during the build, e.g. qmake
PLUGIN_INSTALL_PATH=/absolute/path/to/plugins qpdfview.pro

Another option is to link the plug-ins statically with the application,
e.g. by running qmake CONFIG+=static_pdf_plugin to statically link the
PDF plug-in into the application binary. Please see README for the other
plug-ins.

Best regards, Adam.

-- 
You received this question notification because your team qpdfview is an
answer contact for qpdfview.