vendredi 13 mars 2015

How do I get the path of a script(python) from my qt project, so I can run it during execution?


enter image description here


Basically:




  • I have a python script I want to execute.




  • When I run my program, my build directory does not include the python script.




  • Therefore I can not find the file with QDir, unless I manually set it.




Am I supposed to get it so the .py file is included in my build directory? Or am I missing something here?




Aucun commentaire:

Enregistrer un commentaire