diff --git a/main.go b/main.go index bcb4889e..01afaa98 100644 --- a/main.go +++ b/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()