openurlexternally with ?query
Unsolved
QML and Qt Quick
-
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.
-
Hi,
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.
-
And what are you expecting from it ?
-
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.