Reputation: 1
I received the error
Package webkitgtk-3.0 was not found in the pkg-config search path
when running
pkg-config webkitgtk-3.0 --cflags --libs
in terminal. I followed the instructions from http://trac.webkit.org/wiki/BuildingGtk and everything was a success. I even managed to launch
./run-launcher --gtk
from Tools/Scripts/
.
How do I set the path or pkg-config to use webkit in C++?
Upvotes: 0
Views: 4303
Reputation: 442
I suggest you check which version of WebKitGTK+ you have installed:
The pkgconfig package webkitgtk-3.0
is provided by the WebKit1 API, so you need to:
webkit2gtk-4.0
pkgconfig package (and use the WebKit2 API).Upvotes: 2