After nearly finishing compiling my app, it fails with error
/usr/bin/ld: cannot find -lWebKit1"
I compiled Qt with webkit manually. It completes properly, and I see all the necessary files created in libs/include/pkg-config
, so I am unsure what the problem is. From what I can tell, the -lWebKit1
flag comes from Qt5WebKit.pc
, located in my pkg-config database after compiling Qt with webkit. When I install libqt5webkit5-dev
and libqt5webkit5
with aptitude, I don't get these errors. Do I need to export a path after the Qt compilation, and if so, which? Any help is greatly appreciated.
Compiling my app, I expected to complete, but it only completes when I install Qt and webkit with aptitude, not when I compile them manually.