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

Qprocess vs Kprocess in plasmoid

Tags: None
(comma "," separated)
nofunever
Registered Member
Posts
1
Karma
0

Qprocess vs Kprocess in plasmoid

Tue Mar 28, 2023 11:29 pm
I made a c++ plugin to expose Qprocess so that I can start pw-cli and pw-loopback with the arguments I need and everything is working as I expect it too. However i'm seeing it recommended elsewhere that I should use Kprocess for this instead of Qprocess. If it's working as is would there be any advantage to switching to Kprocess.
I'm guessing Kprocess would also require a C++ plugin to expose to the qml module just the same as Qprocess? I've read the Kprocess documentation....."saner defaults, more accessible API...blah blah don't use qProcess." Just wondering if I should bother if it works already.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]