svg: add example

This commit is contained in:
mappu
2024-11-26 19:54:57 +13:00
parent 86a8f2b6b8
commit 23e4e307d9
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package main
import (
"os"
"github.com/mappu/miqt/qt"
"github.com/mappu/miqt/qt/svg"
)
func main() {
qt.NewQApplication(os.Args)
w := svg.NewQSvgWidget3("../../../doc/logo.svg")
w.Show()
qt.QApplication_Exec()
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB