Thought about it at first too, but mad-developer executes the program as user, even though it uses "developer" to login over ssh to it. Daniel
#include <QtGui/QApplication> #include <QtCore/QDir> int main(int argc, char *argv[]) { QApplication app(argc, argv); QByteArray homePath = QDir::homePath().toUtf8(); printf("Home Path: %s\n", homePath.constData()); return 0; }