kdev-python: plans to add support for PyQt6 & PySide2/6 ?

Björn Strömberg <[email protected]> Tue, 2 Jan 2024 08:50:06 +0100
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <CAHo5mS0cUT=Ex5bSfXoDef6ErBq1j8Yg_17R1TDqut0HirrNQg@mail.gmail.com>
--000000000000e460fa060df1bf0a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

is there any planned support for some newer documentation_files?

i see that in 23.08.4 there is:

   - kdevpythonsupport/documentation_files/PyKDE4
   - kdevpythonsupport/documentation_files/PyQt4
   - kdevpythonsupport/documentation_files/PyQt5


actually expected that atleast KF5 & PySide2 (Qt5 with lgpl linking) would
be supported by the plugin out of the box by v23.08?

these python support things are something i expect that is not handwritten,
and should likely be possible to autogenerate during compilation (if it
finds KF5 / KF6 / Qt5 / Qt6 it should just generate the correct stuff with
what is available at build time or have a tool to generate the output so
support can be packaged separately

from the few files i looked at for PyQt5 (QtCore.py etc) they look pretty
much like a c++ header has been automatically translated..

we maybe have a tool to do this translation already?

/Bj=C3=B6rn

--000000000000e460fa060df1bf0a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">is there any planned support for some newer documentation_=
files?<div><br></div><div>i see that in 23.08.4 there is:</div><div><ul><li=
><span style=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0)">kde=
vpythonsupport/documentation_files/PyKDE4</span></span></li><li><span style=
=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0)">kdevpythonsuppo=
rt/documentation_files/PyQt4<br></span></span></li><li><span style=3D"font-=
family:monospace"><span style=3D"color:rgb(0,0,0)">kdevpythonsupport/docume=
ntation_files/PyQt5<br></span></span></li></ul><div><font color=3D"#000000"=
 face=3D"monospace"><br></font></div></div><div><font color=3D"#000000" fac=
e=3D"monospace">actually expected that atleast KF5 &amp; PySide2 (Qt5 with =
lgpl linking) would be supported by the plugin out of the box by v23.08?</f=
ont></div><div><font color=3D"#000000" face=3D"monospace"><br></font></div>=
<div><font color=3D"#000000" face=3D"monospace">these python support things=
 are something i expect that is not handwritten, and should likely be possi=
ble to autogenerate during compilation (if it finds KF5 / KF6 / Qt5 / Qt6 i=
t should just generate the correct stuff with what is available at build ti=
me or have a tool to generate the output so support can be packaged separat=
ely</font></div><div><font color=3D"#000000" face=3D"monospace"><br></font>=
</div><div><font color=3D"#000000" face=3D"monospace">from the few files i =
looked at for PyQt5 (QtCore.py etc) they look pretty much like a c++ header=
 has been automatically translated..</font></div><div><font color=3D"#00000=
0" face=3D"monospace"><br></font></div><div><font color=3D"#000000" face=3D=
"monospace">we maybe have a tool to do this translation already?</font></di=
v><div><font color=3D"#000000" face=3D"monospace"><br></font></div><div><fo=
nt color=3D"#000000" face=3D"monospace">/Bj=C3=B6rn</font></div><div><font =
color=3D"#000000" face=3D"monospace"><br></font></div></div>

--000000000000e460fa060df1bf0a--