Skip to content

Instantly share code, notes, and snippets.

@chilarai
Last active June 21, 2020 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chilarai/3b4f9b605a6cdc549a8ba2591cb6f60b to your computer and use it in GitHub Desktop.
Save chilarai/3b4f9b605a6cdc549a8ba2591cb6f60b to your computer and use it in GitHub Desktop.
Qt5 Google OAuth: main.qml
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