webview / webview_go

Go language bindings for the webview library.
MIT License
231 stars 39 forks source link

webkit2gtk is fixed to 4.0 #50

Open Le0Developer opened 2 months ago

Le0Developer commented 2 months ago

As mentioned in https://github.com/webview/webview/issues/1120#issuecomment-2269645766, trying to use webview_go with any version but 4.0, errors:

go build github.com/webview/webview_go:
# pkg-config --cflags  -- gtk+-3.0 webkit2gtk-4.0
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'webkit2gtk-4.0', required by 'virtual:world', not found
pkg-config: exit status 1

Related #44

What'd be the best way to "bump" the used version?

Arzumify commented 2 months ago

As mentioned in webview/webview#1120 (comment), trying to use webview_go with any version but 4.0, errors:

go build github.com/webview/webview_go:
# pkg-config --cflags  -- gtk+-3.0 webkit2gtk-4.0
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'webkit2gtk-4.0', required by 'virtual:world', not found
pkg-config: exit status 1

Related #44

What'd be the best way to "bump" the used version?

i've fixed this in a fork https://concord.hectabit.org/HectaBit/webview_go