Preparing for KDE/Qt 6

Milian Wolff <[email protected]> Sun, 28 Aug 2022 17:47:22 +0200
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <2038482.XGbU4vuz28@milian-workstation>
Hey all,

The 22.08 release branch was created, and I would like to prepare KDevelop 
master for Qt 6 and wonder how others feel about this. There are some large 
tasks we need to solve first I believe:

#1 port away from deprecated API
================================

We still use quite a bit of recently-deprecated KF5 API which we need to get 
away from in preparation for KDE/Qt 6. But doing so will break compatibility 
with older KF6 releases.

Personally I couldn't care less about older KF6, so my proposal is: 

Let's raise our minimum KF5 requirement to 5.91 [1] which was released in 
February 2022, half a year ago. When 23.04 is going to be released, it will be 
a year old.

I believe this should allow us to get rid of all remaining deprecated API 
usage in KDevelop, without littering our code base with nasty ifdefs. We might 
be able to clean up some old ones in the process.

[1]: https://kde.org/announcements/frameworks/5/5.91.0/

Anyone opposed?

#2 updating kdev-qmljs
======================

Part of the above is probably going to be updating of our kdev-qmljs fork. I 
started that over at [2] but it's not working at all - tests don't pass and it 
also crashes at runtime as tested by Apol. I don't work with QML currently, so 
if anyone else could adopt this and drive that part forwards - that would be 
really great!

Otherwise I'm contemplating disabling kdev-qmljs temporarily for the Qt6 work.

[2]: https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/369

#3 porting & testing against Qt 6
=================================

Once the above is done, we can finally start with the true fun and test-
compile our code base against Qt 6. We should strive to make this work like 
other projects and learn from their lessons. E.g. we could reach out to the 
kate people about gotchas, but overall I'm not too much worried here I have to 
say - compared to previous ports this time sounds like a piece of cake :D 
Famous last words and all!

Cheers
-- 
Milian Wolff
[email protected]
http://milianw.de
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmMLjgoACgkQ8zYW/HGd
OX95nA/+IIYB12/aUbPSss+38d4jFF+mxGUwW9QHC1YyDMHkunVIAuC+u2P/blep
kczO4kb2dZ3QrD1c7llt9SBZjJ0Z1uj/jyuOSGjfIwh/6MxLQipkpSgmxn36CtHz
bruZjvRgcTvMTJCK1Zw5UwbOfJXR28vjRfuE6QNQSBi8Zl7b0ZyEAjF6VcY6OboR
OvYO3l6OTA8EmPAZUHFyPhIllGHmTFW8Gx9TE67rIRe+lxhvcDci6Kae0ypi54SB
HlSycAioaBmw3tZr9ZEquR/PYNDDkp+Y2SeDH4PEGHMLDGA1bl6R3zKHcUbp7OAv
+gPCTc6ELymF37Uy5PcZ0OGhiEpziRDt365PZlyfIsw3DJNSaXA6PJSXlOchQuMU
n3/r9L84V4wmZfNa0FP6ar/MQUrHQRPvNP5ecs73Sh/TnuT17hY9CEwgOEeQ84Wg
Px71wpOZdwshxhpifU0sv8CRjnh20V3MLCh/CxFwkwriccq3viIJjcTdNsJit2JR
5mWPltQ4GU8Oczfn5FANlDQyTjYaHhJ+HEcsHM3yK0mvcsRh264G4JN7CZ2MKdB0
TmdGTVW3G4BGpt0bNDn9hsq8LuECDJUcrPVPVtoiLJb+VEGPusDXr0cKKFC3KoGY
Dhe8bmrzEiHkNR1d3+vI7gUPxM/1TaSsWYGpMJ0rI9sYvaAQsok=
=9BoS
-----END PGP SIGNATURE-----