miqt/examples/libraries/qt-webengine/main.go
2024-11-27 18:16:55 +13:00

20 lines
276 B
Go

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()
}