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. 


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.