This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kdevelop-python and PySide

Tags: None
(comma "," separated)
aatalla
Registered Member
Posts
3
Karma
0

Kdevelop-python and PySide

Sat Oct 19, 2013 12:16 pm
First of all i want to thank the developer of Kdevelop and kdevelop-python for their great effort

my PySide project work very fine with the plugin put the plugin doesn't recognize Pyside Classes as shown in the following shots

Image

and


Image

i wish the fix in next releases .
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Kdevelop-python and PySide

Sat Oct 19, 2013 12:23 pm
Hi,

PySide is a C library and it's not trivial to support it.

I have support for PyQt -- which is widely believed to be better than PySide anyways ;)
For PySide, I'd need to investigate what needs to be done (probably the PyQt stuff could be mostly re-used). If you want, you can submit a wish to the bug tracker.

Greetings,
Sven


I'm working on the KDevelop IDE.
aatalla
Registered Member
Posts
3
Karma
0

Re: Kdevelop-python and PySide

Tue Oct 22, 2013 7:48 am
Thanks for reply , and i will make my wish to the bug tracker ,
The reason for me to use PySide over PyQt is the LGPL license of PySide :) , by the way there is no difference at all in the classes names between both of them
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Kdevelop-python and PySide

Tue Oct 22, 2013 7:59 am
Yeah, you can probably just

cd /usr/share/apps/kdevpythonsupport/documentation_files
cp -R PyQt4 PySide

Greetings,
Sven


I'm working on the KDevelop IDE.
aatalla
Registered Member
Posts
3
Karma
0

Re: Kdevelop-python and PySide

Sun Nov 03, 2013 6:38 pm
Copying PyQt4 as PySide make it works , thanks
the path here in Kubuntu-13.10 is
Code: Select all
/usr/share/kde4/apps/kdevpythonsupport/documentation_files
curvian
Registered Member
Posts
1
Karma
0

Re: Kdevelop-python and PySide

Fri Jan 01, 2021 9:50 am
scummos wrote:Hi,
...PyQt -- which is widely believed to be better than PySide anyways ;)

Well, that comment did not age well ;)

scummos wrote:For PySide, I'd need to investigate what needs to be done (probably the PyQt stuff could be mostly re-used). If you want, you can submit a wish to the bug tracker.

Any new plans to support this?

Thanks for the plugin.

Edit:
Creating symlinks in ~/.local/share/kdevpythonsupport/documentation_files to the appropriate locations works fine, thanks. Using PyQt5 for PySide6 currently, editing as I come across issues. Unless there's already a PySide6/PyQt6 support somewhere, anyone know?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Kdevelop-python and PySide

Fri Jan 01, 2021 11:20 pm
curvian wrote:
scummos wrote:Hi,
...PyQt -- which is widely believed to be better than PySide anyways ;)

Well, that comment did not age well ;)

Well, 8 years are a bit of time. ;)

scummos wrote:For PySide, I'd need to investigate what needs to be done (probably the PyQt stuff could be mostly re-used). If you want, you can submit a wish to the bug tracker.

Any new plans to support this?

Thanks for the plugin.

Edit:
Creating symlinks in ~/.local/share/kdevpythonsupport/documentation_files to the appropriate locations works fine, thanks. Using PyQt5 for PySide6 currently, editing as I come across issues. Unless there's already a PySide6/PyQt6 support somewhere, anyone know?

There isn't, you are very welcome to upstream your changes. IIRC the PyQt5 support is auto-generated from the SIP files, maybe that can be adapted to automatically generate new support files.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]