Problem starting a browser
-
I need to launch a browser in order to show an HTML page. I don't want to use webkit.
I tried to use QDesktopServices::openURL, but i always get error 5.
I tried to start a process by manually specifying the path to the browser, but the process won't start.Any way to start a browser?
Windows 7 x86 -
How are you passing argument to QDesktopServices::openURL ?
-
Like this: Qurl("file:///C:\mypage.html");
-
Hi,
Change the backslashes to forward slashes in your paths (even on windows when using Qt) or escape the backslashes then you should be good