examples/uidesigner: remove fmt package dependency

This commit is contained in:
mappu 2024-09-28 14:47:31 +12:00
parent 7de20812b2
commit 16435f1565

View File

@ -1,20 +1,16 @@
package main package main
import ( import (
"fmt"
"os" "os"
"github.com/mappu/miqt/qt" "github.com/mappu/miqt/qt"
) )
func main() { func main() {
qt.NewQApplication(os.Args) qt.NewQApplication(os.Args)
ui := NewMainWindowUi() ui := NewMainWindowUi()
ui.MainWindow.Show() ui.MainWindow.Show()
qt.QApplication_Exec() qt.QApplication_Exec()
fmt.Println("OK!")
} }