Sigil-Ebook / Sigil

Sigil is a multi-platform EPUB ebook editor
GNU General Public License v3.0
5.99k stars 578 forks source link

[Bug]: Manual build fails #773

Closed vdijken closed 2 months ago

vdijken commented 2 months ago

Bug Description

Following the procedure under Linux Mint as described here the build fails. Everything is up-to-date and the advised package are installed, I try the latest version from source:

Platform (OS)

Linux

OS Version / Specifics

inux 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

What version of Sigil are you using?

none I try to get one

Any backtraces or crash reports

$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_LIBS=1   ../Sigil
-- Trying to use System Libraries...
-- CMake version in use: 3.29.0
-- Using older findpython cmake module
-- Using System ZLIB
-- Using System MiniZip
-- Using System Hunspell
-- Using System PCRE2
CMake Error at src/qt6sigil.cmake:31 (find_package):
  Could not find a configuration file for package "Qt6" that is compatible
  with requested version "6.4".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake, version: 6.2.4
    /lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake, version: 6.2.4

Call Stack (most recent call first):
  src/CMakeLists.txt:659 (include)
kevinhendricks commented 2 months ago

The newest Sigil requires Qt6.4.0 or later.

kevinhendricks commented 2 months ago

You need to see if a newer version of Qt is available in your repo. If not, consider using the python module aqtinstall to get a local qt version. The latest is Qt 6.7.2.

You can get more help with building Sigil on Linux in our Sigil user forum on www.mobileread.com (see the link in our ReadMe)

As this is not a bug I am closing it. Our Sigil user forum is the best place to get help.

dougmassay commented 2 months ago

The build docs do clearly mention Qt6.4 starting with Sigil 2.3.0:

https://github.com/Sigil-Ebook/Sigil/blob/master/docs/Building_on_Linux.md#getting-qt6

kevinhendricks commented 2 months ago

And see our responses to your previous bug report about this same thing here: https://github.com/Sigil-Ebook/Sigil/issues/768