Bug#890413: libqt5webkit5-dev: Qt5WebKit.pc provides incorrect include path
Package: libqt5webkit5-dev
Version: 5.212.0~alpha2-7
Severity: important
Building applications that rely on QtWebKit from Qt5 fails with the
following error:
./Swift/QtUI/QtWebKitChatView.h:13:10: fatal error: QWebElement: No such file or directory
#include <QWebElement>
^~~~~~~~~~~~~
compilation terminated.
The header location is obtained from `pkg-config --cflags Qt5WebKit`
which returns this (formatted):
-I/usr/include/x86_64-linux-gnu/qt5/Qt5WebKit
-I/usr/include/x86_64-linux-gnu/qt5/QtGui
-I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtNetwork
-I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtCore
-I/usr/include/x86_64-linux-gnu/qt5
However, the first path does not exist, the according directory is
called QtWebKit (without the "5") instead:
/usr/include/x86_64-linux-gnu/qt5/QtWebKit/QWebElement
Please fix the pkg-config file and provide updated packages. Thanks!
Kind regards,
Georg
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.10.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libqt5webkit5-dev depends on:
ii dpkg 1.19.0.5
ii libqt5webkit5 5.212.0~alpha2-7
ii qtbase5-dev 5.9.2+dfsg-10
ii qtdeclarative5-dev 5.9.2-3
libqt5webkit5-dev recommends no packages.
libqt5webkit5-dev suggests no packages.
-- no debconf information
Reply to: