You will need a c++11 compiler, cmake, and the “development” editions of the libraries used (boost, poppler, qt5).
The exact names of those packages will vary based on your operating system
and/or distribution, but development versions often end in -dev
,
-headers
or similar.
If your distribution does not yet have a package for dspdfviewer
,
you might want to consider packaging it,
so that in the future, you (and other users of your distribution)
can simply install the package.
The following package list works on current debian-based systems:
Fedora dependencies, thanks to LorhanSohaky: