View Single Post
Old 11-09-2023, 12:31 PM   #1
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Seeking help in building Sigil on linux

My machine is running UbuntuStudio 22.04.3 LTS with 5.15.0-88-lowlatency - x86_64

I've been running Sigil Flatpak version in order to have Sigil more up-to-date than the distro version, 1.9.2. Generally, the Flatpak version worked ok but with some difficulties with plugins and occasional freezing of the Preview panel apparently failing to load. The only way out of that freeze was to close and restart Sigil.

So I decided to take a chance and try to build Sigil 2.0.2 myself following the detailed procedure on https://github.com/Sigil-Ebook/Sigil...Linux.md#sigil

This is outside my comfort zone.

I completed the first 6 steps and got as far in step 7 as running
Code:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
That's where it failed. There were a few failures but the first thing to fix, it seems to me, is this one :
Code:
CMake Error at src/qt6sigil.cmake:27 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.
Step 3 in the procedure I was following asks :
Quote:
Qt5.10 or higher (with QtWebEngine) Qt5.12+ recommended
I understand now from another sticky post on this forum that Sigil 2.x needs QT6 so Step 3 is out of date.

Could someone kindly help by providing a simple statement like the one in the article?

Code:
sudo apt-get install qtbase5-dev qttools5-dev qttools5-dev-tools qtwebengine5-dev
Bearing in mind that the only 2 Qt6 item currently included in my distro is :
qt6-kde-platformtheme and qt6-qpa-plugins and I have no idea if they are at all relevant.
philja is offline   Reply With Quote