--- On Thu, 10/30/08, vatbier wrote: Phew, I've found the solution thanks to anda_skoa from Austria who replied to me at http://forum.kde.org/showthread.php?tid=10512. He told me that QX11Info::display() looks like it might need a QApplication instance. I haven't got any clue (yet) how a Qt program works. I looked at the main.cpp of a QMake Qt4 project in KDevelop and I added this in myshowdesktop.cpp: #include ... int main(int argc, char *argv[]) { QApplication app(argc, argv); NETRootInfo info(QX11Info::display(), 0); info.setShowingDesktop(true); And it runs now without segfault and it minimizes all windows !! vatbier _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel