[Qt-interest] Strange problem with QFile

Patric userqt at gmail.com
Tue Jul 7 03:35:39 CEST 2009


Hi, 
I have strange problem here. 

QFile devicesFile(devices.txt);

I use this to create a file. When I start my program from QT Creator, the file is saved in the workspace\Project\debug or release folder. So it's not a problem. 

But when I made my installation package, this file is now saved on my desktop instead of my program installation directory. 
Does anyone know where might be the reason for this ? 

Regards, 
Patric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090707/a2c570a6/attachment.html 


More information about the Qt-interest-old mailing list