- copy
CMakeUserPathsGit.cmake
and rename it toCMakeUserPaths.cmake
- add your library paths to the
${CMAKE_PREFIX_PATH}
inCMakeUserPaths.cmake
- Open CMake GUI
- set this folder to
where is the source code
- choose a build folder (e.g.
build2017-x64
) - Hit
Configure
thenGenerate
- Open the Project
- Compile the Solution (build Release and Debug)
- Build
INSTALL
- You should now have a
qpsd.dll
in$YOUR_QT_PATH$ /plugins/imageformats - nomacs will automatically copy the plugins from there to it's build folder
install dependencies
sudo apt-get install debhelper cdbs qt5-qmake qttools5-dev-tools qt5-default qttools5-dev libqt5svg5-dev qt5-image-formats-plugins cmake
cd to this directory, then configure the project:
mkdir build
cd build
cmake ..
and compile:
make