How to get Qt dll/so file full qualified path
I have written a dll/.so in Qt which is getting loaded by some third part application, I would like to get full qualified path for my Qt dll, inside my dll.
How to retrieve this.
what do you mean with "full qualified path"? do you want it to be integrated in your dll (statically link it)? or do you want your program to use the third party application to find Qt dlls automatically? I don't get it!
I have mstsc exe that will eventually load my Qt dll.
Inside my Qt dll I want the full path of the location where I copied my Qt dll.
I tried with QCoreApplication::applicationDirPath and applicationFilePath,
but it gives me path to mstsc.exe not my Qt dll path.
I hope, I made you understand.....
Did you check "QLibraryInfo":http://developer.qt.nokia.com/doc/qt-4.8/qlibraryinfo.html#location already?
However, this may reflect the true path only when properly installed.
Thanks for your reply, but this gives all the path to the various Qt folder where I have installed my Qt SDK.
I am looking for the path of my dll, not the path for Qt SDK dll.