I am trying to get a Linux console output. Here is my code
in terminal, I get Ambiance output which is my current theme. But QT terminal gives theme ="" output.Qt Code:
p.start("gsettings get org.gnome.desktop.wm.preferences theme"); p.waitForFinished(); qDebug()<<"theme ="<<p_stdout;To copy to clipboard, switch view to plain text mode
What am I doing wrong?
Thanks
Bookmarks