mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
367 B
19 lines
367 B
10 years ago
|
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()
|
||
|
})
|
||
|
}
|