miqt/examples/libraries/qt-webkit/main.go
2024-11-26 22:31:41 +13:00

20 lines
264 B
Go

package main
import (
"os"
"github.com/mappu/miqt/qt"
"github.com/mappu/miqt/qt/webkit"
)
func main() {
qt.NewQApplication(os.Args)
w := webkit.NewQWebView2()
w.Load(qt.NewQUrl3("https://www.github.com/mappu/miqt"))
w.Show()
qt.QApplication_Exec()
}