Last active
June 21, 2020 09:51
-
-
Save chilarai/3b4f9b605a6cdc549a8ba2591cb6f60b to your computer and use it in GitHub Desktop.
Qt5 Google OAuth: main.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.15 | |
import QtQuick.Window 2.15 | |
import QtQuick.Controls 2.5 | |
Window { | |
visible: true | |
width: 640 | |
height: 480 | |
title: qsTr("Google OAuth Test") | |
Button{ | |
text: qsTr("Start Authentication") | |
anchors.centerIn: parent | |
onClicked: { | |
GoogleAuth.click() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment