Externaly open local HTML file
Solved
QML and Qt Quick
-
Hello,
I would like to open a local HTML file on the computer web browser.
But I don't know how to achieve this. Can somebody help me ?
I tried this :Qt.openUrlExternally("help.html")
but it does not work : here is the error message I have :
ShellExecute 'qrc:/help.html' failed
-
Hello,
I would like to open a local HTML file on the computer web browser.
But I don't know how to achieve this. Can somebody help me ?
I tried this :Qt.openUrlExternally("help.html")
but it does not work : here is the error message I have :
ShellExecute 'qrc:/help.html' failed
@DavidM29 it seems you need to fully qualify the page you want to open.
Qt.openUrlExternally("http://some-server-name-or-ip/help.html")
or
Qt.openUrlExternally("file:///path/to/help.html")
-
Hello,
I would like to open a local HTML file on the computer web browser.
But I don't know how to achieve this. Can somebody help me ?
I tried this :Qt.openUrlExternally("help.html")
but it does not work : here is the error message I have :
ShellExecute 'qrc:/help.html' failed
-