qbolt/main.go

23 lines
357 B
Go
Raw Permalink Normal View History

2017-05-16 07:34:54 +00:00
package main
import (
"os"
2024-10-03 06:34:28 +00:00
"github.com/mappu/miqt/qt"
2017-05-16 07:34:54 +00:00
)
var Version string = "v0.0.0-devel"
2024-10-03 06:34:28 +00:00
func main() {
2017-05-16 07:34:54 +00:00
2024-10-03 06:34:28 +00:00
_ = qt.NewQApplication(os.Args)
2017-05-16 07:34:54 +00:00
2024-10-03 06:34:28 +00:00
qt.QGuiApplication_SetApplicationDisplayName("QBolt")
qt.QGuiApplication_SetWindowIcon(qt.NewQIcon4(":/rsrc/database_lightning.png"))
2017-05-16 07:34:54 +00:00
2024-10-03 06:34:28 +00:00
w := NewMainWindow()
w.ui.MainWindow.Show()
2017-05-16 07:34:54 +00:00
2024-10-03 06:34:28 +00:00
qt.QApplication_Exec()
2017-05-16 07:34:54 +00:00
}