miqt/examples/libraries/qt-webengine/main.go

20 lines
276 B
Go
Raw Normal View History

2024-11-27 05:16:55 +00:00
package main
import (
"os"
"github.com/mappu/miqt/qt"
"github.com/mappu/miqt/qt/webengine"
)
func main() {
qt.NewQApplication(os.Args)
w := webengine.NewQWebEngineView2()
w.Load(qt.NewQUrl3("https://www.github.com/mappu/miqt"))
w.Show()
qt.QApplication_Exec()
}