Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Get absolute path of a QDeclarativeItem during runtime



  • Hi,

    I'm trying to load a file in C++ side with something like fopen but everything is load from the working dir and I want to load a file in the same folder than my qml file. I don't know how i can retrieve the relative path to the working dir. 
    

    Thank.


Log in to reply