I'm trying to display a QLabel on the root window on X11 with Openbox i've written this code but all i got is a gray background and no label (if i move a window the background under the window goes back to black).
Qt Code:
int primary = desk->primaryScreen(); QLabel label; label.setPixmap(ico); layout->addWidget(&label); root->setLayout(layout); root->show(); root->repaint();To copy to clipboard, switch view to plain text mode
Is it possible to do with only qt4 or i have to write code in XLib?
Thanks
Bookmarks