You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Heiko Becker 479c2957c6
Create tag for 22.11.90
3 years ago
LICENSES Download GFDL-1.2-or-later license 5 years ago
autotests Implement event.change 4 years ago
cmake/modules Convert CMake module license statements to SPDX 5 years ago
conf Add a configuration option to disable drag-scrolling beyond screen edges 4 years ago
core SVN_SILENT made messages (.desktop file) - always resolve ours 3 years ago
doc Add a configuration option to disable drag-scrolling beyond screen edges 4 years ago
generators SVN_SILENT made messages (.desktop file) - always resolve ours 3 years ago
gui Don't require KF5::IconThemes for Mobile 4 years ago
hooks Add .git-blame-ignore-revs and some instructions for clang-format 6 years ago
icons New part/ directory for okularpart sources from /, ui/, conf/ 5 years ago
interfaces Convert license headers to SPDX 5 years ago
mobile SVN_SILENT made messages (.desktop file) - always resolve ours 3 years ago
part Add a configuration option to disable drag-scrolling beyond screen edges 4 years ago
po GIT_SILENT Sync po/docbooks with svn 3 years ago
shell SVN_SILENT made messages (.desktop file) - always resolve ours 3 years ago
.clang-tidy Enable readability-braces-around-statements 4 years ago
.git-blame-ignore-revs Add the readability-braces-around-statements hash to .git-blame-ignore-revs 4 years ago
.gitignore Add auto generated files to .gitignore 4 years ago
.gitlab-ci.yml Implement event.change 4 years ago
.kde-ci.yml Add Windows CI 4 years ago
.krazy
CMakeLists.txt GIT_SILENT Upgrade release service version to 22.11.90. 3 years ago
Mainpage.dox Clean up ServiceType property usage for JSON based plugins 5 years ago
Messages.sh Extract i18n from gui 4 years ago
Okular5Config.cmake.in Use ecm_setup_qtplugin_macro_names 6 years ago
OkularConfigureChecks.cmake
README.clang-format Move to clang-format 13 4 years ago
README.internals.png
README.md Set QT_PLUGIN_PATH 4 years ago
TODO
_clang-format Manual fixes to license headers 5 years ago
aboutdata.h okular About dialog human names should be translated 4 years ago
config-okular.h.cmake Increase kjs requirement for using the timeout check 6 years ago
kdocumentviewer.h Convert license headers to SPDX 5 years ago
metainfo.yaml replace "MacOSX" with "macOS" 5 years ago
okular.categories Use new syntax 7 years ago
okular.upd Store the state of the builtin annotations in a new config key 6 years ago
okular_part.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 3 years ago

README.md

Okular – Universal Document Viewer

Okular can view and annotate documents of various formats, including PDF, Postscript, Comic Book, and various image formats. It supports native PDF annotations.

Downloads

For download and installation instructions, see https://okular.kde.org/download.php

User manual

https://docs.kde.org/?application=okular&branch=stable5

Bugs

https://bugs.kde.org/buglist.cgi?product=okular

Please report bugs on Bugzilla (https://bugs.kde.org/enter_bug.cgi?product=okular), and not on our GitLab instance (https://invent.kde.org).

Mailing list

https://mail.kde.org/mailman/listinfo/okular-devel

Source code

https://invent.kde.org/graphics/okular.git

The Okular repository contains the source code for:

  • the okular desktop application (the “shell”),
  • the okularpart KParts plugin,
  • the okularkirigami mobile application,
  • several okularGenerator_xyz plugins, which provide backends for different document types.

Apidox

https://api.kde.org/okular/html/index.html

Contributing

Okular uses the merge request workflow. Merge requests are required to run pre-commit CI jobs; please don’t push to the master branch directly. See https://community.kde.org/Infrastructure/GitLab for an introduction.

Build instructions

Okular can be built like many other applications developed by KDE. See https://community.kde.org/Get_Involved/development for an introduction.

If your build environment is set up correctly, you can also build Okular using CMake:

git clone https://invent.kde.org/graphics/okular.git
cd okular
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/install/dir ..
make
make install

Okular also builds tests in the build tree. To run them, you have to run make install first.

If you install Okular in a different path than your system install directory it is possible that you need to run

source prefix.sh

so that the correct Okular instance and libraries are picked up. Afterwards one can run okular inside the shell instance. The source command is also required to run the tests manually.

As stated above, Okular has various build targets. Two of them are executables. You can choose which executable to build by passing a flag to CMake:

cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/install/dir -DOKULAR_UI=desktop ..

Available options are desktop, mobile, and both.

clang-format

The Okular project uses clang-format to enforce source code formatting. See README.clang_format for more information.