Hi,

I've wrote a small application that search for movies in my computer, list them, order the list and display the list to the user (using a a QTreeWidget). When the user double clic a movie name, my application use the QDesktopServices in order to launch the movie.

Here is the sample code used to launch the movie :
Qt Code:
  1. QString path_to_a_movie = "N:/The movies/666 - La malédiction";
  2.  
  3. QUrl my_url;
  4. my_url = QUrl::fromLocalFile(path_to_a_movie);
  5.  
  6. QDesktopServices::openUrl(my_url);
To copy to clipboard, switch view to plain text mode 

If the [path_to_a_movie] contains accents, like in the example, the movie isn't launched.
I don't understand how to resolve this problem... Has someone an idea ?