I installed all the needed packages specified here
https://github.com/Sigil-Ebook/Sigil...Linux_older.md. This cmake command fails on version 2.2.1:
cmake -DUSE_SYSTEM_LIBS=1 -DUSE_QT5=1 -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
The error is:
Code:
$ cmake -DUSE_SYSTEM_LIBS=1 -DUSE_QT5=1 -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- Trying to use System Libraries...
-- CMake version in use: 3.22.1
-- Using older findpython cmake module
-- Using System ZLIB
-- Using System MiniZip
-- Using System Hunspell
-- Using System PCRE2
-- Could NOT find Qt5Svg (missing: Qt5Svg_DIR)
CMake Warning at src/qt5sigil.cmake:38 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "Svg" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Svg/Qt5SvgConfig.cmake"
Call Stack (most recent call first):
src/CMakeLists.txt:676 (include)
-- Using older PYTHON_LIBRARIES CMAKE variable to link to Python
-- Configuring done
CMake Error at src/qt5sigil.cmake:230 (add_executable):
Target "sigil" links to target "Qt5::Svg" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
src/CMakeLists.txt:676 (include)
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Any idea what could be wrong?