Initial but not really

This commit is contained in:
Bel LaPointe
2019-02-26 17:56:07 -07:00
commit c8318d45ac
16 changed files with 771 additions and 0 deletions

20
testdata/quick/main.go vendored Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
"os"
"github.com/therecipe/qt/core"
"github.com/therecipe/qt/gui"
"github.com/therecipe/qt/qml"
)
func main() {
core.QCoreApplication_SetAttribute(core.Qt__AA_EnableHighDpiScaling, true)
gui.NewQGuiApplication(len(os.Args), os.Args)
var app = qml.NewQQmlApplicationEngine(nil)
app.Load(core.NewQUrl3("qrc:/qml/application.qml", 0))
gui.QGuiApplication_Exec()
}