Qt World Summit: Register Today!

QDesktopServices path problem

  • Hi,

    I am trying to launch system player using QDesktopServices

    here, what is important is using the scheme "file://", to avoid calling web Browser.

    i think that, to use the scheme "file://", i have to put an absolute path. But for symbian, i dont have the absolute path, i just got relative paths like "qml/xxx.png".

    anyone has ideas? thanks

  • I think you have to use QUrl::fromLocalFile to form your URL.

Log in to reply