mirror of
https://github.com/mappu/miqt.git
synced 2025-05-17 00:40:22 +00:00
main: hello world
This commit is contained in:
parent
af8cd00ace
commit
4132f47450
5
main.go
5
main.go
@ -8,6 +8,7 @@ import (
|
||||
func main() {
|
||||
|
||||
app := NewQApplication(os.Args)
|
||||
_ = app
|
||||
|
||||
/*
|
||||
btn := NewQPushButton("Hello world!", QWidget{})
|
||||
@ -18,6 +19,10 @@ func main() {
|
||||
|
||||
wid := NewQWidget()
|
||||
_ = wid
|
||||
|
||||
btn := NewQPushButton("Hello world!", wid)
|
||||
_ = btn
|
||||
|
||||
wid.Show()
|
||||
|
||||
app.Exec()
|
||||
|
Loading…
x
Reference in New Issue
Block a user