How to set up an external URL link?

Hi there! I did not find in tutorials how to make external link transition on button click. I want to order a client to the page with Pro version of my app, but don’t know how to do it. Please help!
Simple tag on button does not work.

1 Like

You need to add some code using Code editor:

import QtQuick 2.4

Item {
    Connections {
        target: widget.script
        onEventItemClicked: Qt.openUrlExternally("https://google.com")
    }
}

See the example open_url_browser.pma (954.6 KB)

Cooool!!! It works just how I dreamed of! Thank you Michael!

The simplest way


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.