mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
19 lines
367 B
Go
19 lines
367 B
Go
|
package webengine
|
||
|
|
||
|
// #cgo CPPFLAGS: -I./
|
||
|
// #cgo CXXFLAGS: -std=c++0x -pedantic-errors -Wall -fno-strict-aliasing
|
||
|
// #cgo LDFLAGS: -lstdc++
|
||
|
// #cgo pkg-config: Qt5WebEngine
|
||
|
//
|
||
|
// #include "cpp/webengine.h"
|
||
|
import "C"
|
||
|
|
||
|
import "github.com/obscuren/qml"
|
||
|
|
||
|
// Initializes the WebEngine extension.
|
||
|
func Initialize() {
|
||
|
qml.RunMain(func() {
|
||
|
C.webengineInitialize()
|
||
|
})
|
||
|
}
|