#1056549 grantlee5: Is there intention to port the lib to Qt6 ?

#1056549#5
Date:
2023-11-22 14:49:57 UTC
From:
To:
Greetings,

There appears to be an effort upstream to port Grantlee to Qt6. Is there any
intention downstream to actually create binary packages for Qt6 ?

Thank you,
Sincerely,
Filippo

#1056549#10
Date:
2023-11-23 08:22:21 UTC
From:
To:
Grantlee has been ported to Qt6 and renamed to KTextTemplate https://
invent.kde.org/frameworks/ktexttemplate and will be released in february
together with the rest of KDE's frameworks based on Qt6 (and plasma and ...)

/Sune

#1056549#15
Date:
2023-11-23 09:52:56 UTC
From:
To:
Greetings, Sune

Thank you for your response,

I see. What we use to do is create packages for Debian but also for MS  Windows
(our users are biologists and often are not fluent in GNU/Linux...). Looking at
the CMakeLists.txt file in the repos, it looks like the Grantlee code in there
will depend on KDE, or not ?

~~~~

include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(KDEGitCommitHooks)

~~~

I thus wonder if this port is going to actually solve our portability-related
requirements. Any thoughts ?

Sincerely,
Filippo

#1056549#20
Date:
2023-11-23 10:24:39 UTC
From:
To:
KDEInstallDirs is basicalyl just GNUInstallDirs slightly improved and extended
KDEFrameworkCompilerSettings is just shared setup of c++ standards and default
warnings
KDECMakeSettings is setting a series of cmake policies and such
KDECommitHooks is just setting up git to commit reject certain changes

All of these are are part of extra-cmake-modules and is in general well tested
for cross platform functionality and it makes writing modern c++ and cmake
code simpler and easier.
In general, other than an extra line in your build scripts, shouldn't make
much of a difference.

/Sune

#1056549#25
Date:
2023-11-23 11:43:25 UTC
From:
To:
That seems convincing, I'll test that and when I'm done I'll close the bug.

Thank you!

Sincerely,
Filippo