Is there any function in QDir that allow us to concatenate 2 path (one is direct path and the other one is relative)
For example:
path 1 is "C:/home/user1/project/data"
path 2 is : "../data2/file.txt"
the result should be a String equal to C:/home/user1/project/data2/file.txt
I tried:
QString finalPath = QDir("C:/home/user1/project/data").filePath("../data2/file.txt");
but it is not working
Thank you for your help