Currently I'm reading content out of a USB stick that is hard coded in my software.


Qt Code:
  1. QFile file("W:/TemperatureReadings/date.xls");
To copy to clipboard, switch view to plain text mode 


I want to change this so it isn't a hard coded path anymore and the software will recgonize any drive letter with folder (TemperatureReadings) and file name (date.xls)

Is there an easy way to do this? I can't figure it out from the documentation.

Thanks a lot!