Unsolved Hyperlinks in Qt Quick Text not working with Google Chrome
-
Hi all,
Having an issue with
onLinkActivated: Qt.openUrlExternally(link)
, where it does not open the browser.
If I test the link byonLinkActivated: console.log(link)
it triggers and shows the correct link. So something is going on withQt.openUrlExternally(link)
, which I can't figure it out.
Could it be because the browser is running in the background?I've taken the code from this website: https://blog.shantanu.io/2015/02/15/creating-working-hyperlinks-in-qtquick-text/
I'm using QtQuick 2.3 in conjunction with Python 3.6.8 in windows 10.
Thank you all in advance! :)
Andre
-
@AndreAnjos
What happens when the browser isn't running in the background? -
Hi @pderocco,
It happens the same, with the slight difference that it shows the loading circle for a fraction of a second. But never ends up opening the browser.
Is there anything else that
Qt.openUrlExternally(link)
relies on?Thank you for your help! :)
-
I just found part of the issue... My default browser is Chrome and after changing it to Firefox and Edge, both times work.
So what is the deal with Google Chrome?
Cheers!