Does it make sense to try to build Falkon against QT6 on Debian "Bookworm" 12?

Juraj Oravec jurajoravec at mailo.com
Thu Dec 7 17:26:28 GMT 2023


Hello Jens,

The ECM and KDE Frameworks of version 5.240.0+ are for Qt6 and KF6 
programs. Falkon is one such program.

If you realy want, try to change the required ECM module version in 
CMakeLists.txt file, it is near the top

Eg::
-find_package(ECM ${KF_MIN_VERSION} CONFIG)
+find_package(ECM "5.78.0" CONFIG)

This may work, but I would still use newer version of system and 
everything. And also take note that Falkon Qt6 port is still under 
development and there are bugs still waiting to be discovered.


Also, the ECM (Extra Cmake Modules) is a KDE thing and the KF6 version 
of it will be released probably only in February.


Best regards,
Juraj

On štvrtok 7. decembra 2023 18:08:22 CET Jens Radloff wrote:
> Hi Juraj,
> 
> I am referring to your latest comment in bug issue 477234 at
> 
> https://bugs.kde.org/show_bug.cgi?id=477234
> 
> When applying cmake against the master branch of the Falkon source
> code which I cloned to my local machine today, cmake returns the
> following error message:
> 
> --- Quote Beginning ---
> 
>   Could not find a configuration file for package "ECM" that is
> compatible with requested version "5.240.0".
> 
>   The following configuration files were considered but not accepted:
> 
>     /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.103.0
> 
> [..]
> 
> * ECM (required version >= 5.240.0), Extra CMake Modules., <https://
> invent.kde.org/frameworks/extra-cmake-modules>
> 
> CMake Error at /usr/share/cmake-3.25/Modules/FeatureSummary.cmake:464
> (message):
>   feature_summary() Error: REQUIRED package(s) are missing, aborting
> CMake run.
> Call Stack (most recent call first):
>   CMakeLists.txt:21 (feature_summary)
> 
> -- Configuring incomplete, errors occurred!
> See also
> "/opt/falkon_git_cone/falkon/build/CMakeFiles/CMakeOutput.log".
> 
> --- Quote End ---
> 
> When then using cmake to configure the source code of today's ECM
> source code downloaded using "git clone
> https://invent.kde.org/frameworks/extra-cmake-modules.git", cmake
> returns among other things:
> 
> --- Quote Beginning ---
> 
> -- The following features have been disabled:
> 
>  * BUILD_HTML_DOCS, Generate HTML documentation for installed modules.
> * BUILD_MAN_DOCS, Generate man page documentation for installed
> modules. * BUILD_QTHELP_DOCS, Generate QtHelp documentation for
> installed modules.
> 
> -- The following OPTIONAL packages have not been found:
> 
>  * Sphinx (required version >= 1.2), Tool to generate documentation.,
> <https://www.sphinx-doc.org/>
>    Required to build documentation for Extra CMake Modules.
> 
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /opt/sonst/ecm_git_clone/extra-cmake- modules/bin
> 
> --- Quote End ---
> 
> The package libsphinx-dev in my Debian installation is in an too old
> version, i. .e. in version 1.0.2-3.
> 
> Does it make sense to go on trying to fulfill the requirements for a
> sufficient enough and successful configuration of the build process
> for building ECM using cmake, in order to be able to then compile
> Falkon against QT6 in my Debian 12 installation?
> 
> Debian 12 is currently the Debian Stable Release. It provides both the
> QT5 and QT6 packages, both are installed on my machine, they are not
> having package conflicts to each other.
> 
> Or would it be better if I would use the future Debian 13 release (i.
> e. the current Debian Testing Release?) for compiling Falkon against
> QT6?
> 
> Best regards,
> 
> Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/falkon/attachments/20231207/ae22bc29/attachment.sig>


More information about the Falkon mailing list