Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile with QtWebKit reloaded #10

arp242 opened this issue Mar 31, 2017 · 1 comment

Doesn't compile with QtWebKit reloaded #10

arp242 opened this issue Mar 31, 2017 · 1 comment


Copy link

arp242 commented Mar 31, 2017

Using the "QtWebKit reloaded" I get:

$ make
cd src/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/martin/aur/qtwebkit-plugins-git/src/qtwebkit-plugins/src/ ) && make -f Makefile 
make[1]: Entering directory '/home/martin/aur/qtwebkit-plugins-git/src/qtwebkit-plugins/src'
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebKitWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -I../build -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o ../build/plugin.o plugin.cpp
In file included from plugin.cpp:18:0:
plugin.h:23:35: fatal error: qwebkitplatformplugin.h: No such file or directory
 #include "qwebkitplatformplugin.h"
compilation terminated.
make[1]: *** [Makefile:546: ../build/plugin.o] Error 1
make[1]: Leaving directory '/home/martin/aur/qtwebkit-plugins-git/src/qtwebkit-plugins/src'
make: *** [Makefile:43: sub-src-make_first] Error 2

This header exists at /usr/include/QtWebKit/qwebkitplatformplugin.h. Linking /usr/include/QtWebKit to /usr/include/qt/QtWebKit fixed it. I can then compile and use it with e.g. qutebrowser.

Copy link

Vistaus commented Jul 30, 2017

I can't speak for @nowrep, but QupZilla has switched to QtWebEngine so I'm not sure if QtWebKit Reloaded is going to be supported...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants