mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
22 lines
346 B
Go
22 lines
346 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.NewScintillaEdit2()
|
|
area.SetFixedSize2(640, 480)
|
|
area.Show()
|
|
|
|
qt.QApplication_Exec()
|
|
}
|