I have made a program using Qt that parses some files, stores the information contained in them in a SQLite database saved to a file and stores a txt file to disk.
When i run the program in the Qt Creator IDE everything works as expected and both the database and txt files are created.
However when i try to run the package outside Qt Creator the program runs up to the part where the txt file is created and then crashes (quit unexpectedly).
While trying to figure out the problem i noticed that when the program is run in the IDE the two files (the DB and the txt one) are created inside the package while when the package is run the two files are not created (i create them in ./)
I think it's something to do with the program not having "permissions" to write inside the package, is there a way to fix this?
Aucun commentaire:
Enregistrer un commentaire