miqt/examples/libraries/extras-scintillaedit/main.go
2024-10-20 18:07:38 +13:00

22 lines
345 B
Go

package main
import (
"os"
"github.com/mappu/miqt/qt"
"github.com/mappu/miqt/qt-extras/scintillaedit"
)
// n.b. May need LD_LIBRARY_PATH= env var set to find the necessary .so file
func main() {
qt.NewQApplication(os.Args)
area := scintillaedit.NewScintillaEdit()
area.SetFixedSize2(640, 480)
area.Show()
qt.QApplication_Exec()
}