mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +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() {
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user