main: hello world

This commit is contained in:
mappu 2024-08-06 10:24:15 +12:00
parent af8cd00ace
commit 4132f47450

View File

@ -8,6 +8,7 @@ import (
func main() { func main() {
app := NewQApplication(os.Args) app := NewQApplication(os.Args)
_ = app
/* /*
btn := NewQPushButton("Hello world!", QWidget{}) btn := NewQPushButton("Hello world!", QWidget{})
@ -18,6 +19,10 @@ func main() {
wid := NewQWidget() wid := NewQWidget()
_ = wid _ = wid
btn := NewQPushButton("Hello world!", wid)
_ = btn
wid.Show() wid.Show()
app.Exec() app.Exec()