openurlexternally with ?query
Hi, i cant use ?query when i call Qt.openurlexternally
i'm opening a local file and then i want to apply ?query=blabla to it.
var u = ("file://" + applicationDirPath + "/stripe-payment-js/index.html") var arg = "?amount=" + parseInt(Constants.cur_bundle.price) Qt.openUrlExternally(u + arg)
How can i do it please.
Why are you trying to pass a query string while trying to open a local file ?
It looks like you want to access a web site.
it is . it's a self hosted little js file .
And what are you expecting from it ?
it's an index.html
i want to open it on the default browser and give it some queries like
Since you are opening a local file, it most likely just drop the query string part as it doesn't make any sense from a local filesystem point of view.