mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
examples/uidesigner: remove fmt package dependency
This commit is contained in:
parent
7de20812b2
commit
16435f1565
@ -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!")
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user