URL to external website not working
Unsolved
General and Desktop
-
Hi,
The function below open an external URL and returns me the following error: "ShellExecute 'https://www.github.com/NJOYSoftware/Workflow-App/wiki' failed (error 5)"
void MainWindow::on_actionHelp_triggered() { QUrl wikiURL("https://www.github.com/NJOYSoftware/Workflow-App/wiki", QUrl::TolerantMode); QDesktopServices::openUrl(wikiURL); }
This second function work fine and open my default email client (Thunderbird for me):
void MainWindow::on_actionReport_Bug_triggered() { QUrl mailURL("mailto:njoysoftware.company@gmail.com?subject=Bug/Problem Report&body="); QDesktopServices::openUrl(mailURL); }
Is there somethnig I'm missing??
-
Hi,
Please provide these basic information:
- Qt version
- OS version
- Compiler
-
@TagLog said in URL to external website not working:
Is there somethnig I'm missing??
what OS are you running on? (I guess MS Windows?)
I guess your system doesn't know how to handlehttps://
with a default application. Doeshttp://
work? -
@raven-worx Yes, I'm running on MS Windows. I tried
http://
but it doesn't work. -
What web browser do you have installed ? Mail client ?