Solved pde file from qt creator
-
I have qt creator codes and the program works successfully. This codes should produce output which has ".pde" extention. But I couldn't find this ".pde" file on my pc or maybe the program doesn't produce it. If someone helps about that I will be grateful.
-
Hi,
Where is it supposed to create that file ?
Since the path should be known, does it print something on open failure ? -
@SGaist said in pde file from qt creator:
here is it supposed to create that fi
Unfortunately I don't know where is it create that file, I just know I need ".pde" file which is produced from my qt program.
No it doesn't print any failure. When I run the program it works correctly. -
Hi
look in the build folder.
under debug / releaseif on a mac, please tell.
-
I'd search for
QFile
in the source code, then search when a file is opened for writing and then add add an debug output. E.g.:QFile f("some.pde"); f.open(QIODevice::WriteOnly); qDebug() << f.fileName(); // add this!
Then you should know where the file is written.
-
@aha_1980
When I did your suggestion, I toke this kind of error. -
@melis You will probably have to add
#include <QDebug>
;) -
You don't do any check that the operations you are doing are successful. You should add that.