Hello, I use QDesktopServices:penUrl() to opening a local file (.ods) from a button in my program's GUI.

The code is:
Qt Code:
  1. QUrl resultsUrl("data/output/results/results.ods", QUrl::TolerantMode);
  2. QDesktopServices::openUrl(resultsUrl);
To copy to clipboard, switch view to plain text mode 

This code works both in both Ubuntu and WinXP, as long as the machine has .ods files registered with LibreOffice/OpenOffice.
However in a machine of a collegue with Win7 this code doesn't produce anything (and, yes, he has LibreOffice installed and registered with .ods).

What could it be ?

ok.. I got the occasion to try back my collegue pc.. I just keep it posting any how in case someone has the same issue.
For some strange reasons on Ubuntu and Windows XP the relative position was fine (foth in the Qt Creator and in the installed application) but in Windows 7 it seems it wants the full path...