mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
20 lines
264 B
Go
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()
|
||
|
}
|