Are you sure it does crash in your QNetworkAccess slot? For me it can not open the file "tmp.xml" when running from the .desktop file. I don't know what is the working directory. If you start the program from the command line, it can create the tmp.xml file. I changed your code to create the file "/tmp/tmp.xml" and then it does work even with a .desktop file. Nicolai