Skip to content

nomacs/imageformats

Repository files navigation

nomacs imageformats

This repository contains all image plugins for nomacs that are officially supported. Compiling these plugins is most commonly needed to deploy on Windows.

Before you start

Be sure that these dependencies are installed on your computer:

  • Qt (version >= 5.14)
  • CMake (version >= 3.14)

Build imageformats on Windows

  • Open a x64 Native Tools Command
  • cd to this directory, then type:
REM make "C:/Qt/Qt-5.14.1-installer/5.14.2/msvc2017_64/"
make QT_PATH

where QT_PATH points to your Qt directory.

Add a new plugin

First make sure, that the cmake compiles on Windows.

git submodule add link-to-your-fork

Add the following lines to the CMakeLists.txt (let's assume your plugin is named libjpg):

OPTION (ENABLE_JPG "Enable JPG Plugin" ON)

# ...

IF (ENABLE_JPG)
    add_subdirectory(libjpg)
ENDIF(ENABLE_JPG)

# ...

IF(ENABLE_JPG)
    MESSAGE(STATUS " with JPG .................. YES")
ELSE()
    MESSAGE(STATUS " with JPG .................. NO")
ENDIF()

About

additional image plugins for nomacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages