Subject: Re: bug#24404: "calibre" package fails to build.

From: Andreas Enge <[email-masked]>
Date: Thu, 2 Aug 2018 18:49:35 +0200

Well, I tried the following: Build python-pyqt (instead of the now already
available python2-pyqt), and stop the build after the configure phase.
In the build directory, I have groups of 5 files for modules that are going
to be built:
cfgtest_QtHelp
cfgtest_QtHelp.cpp
cfgtest_QtHelp.mk
cfgtest_QtHelp.o
cfgtest_QtHelp.pro

But only 2 files for modules that are not built:
cfgtest_QtWebKit.cpp
cfgtest_QtWebKit.mk

Does it mean that the file could not be compiled, since some dependency
was not found? Or that we are missing a configure option?

The cfgtest_QtWebKit.cpp file is:
#include<qwebkitglobal.h>

int main(int, char **)
{
    qWebKitVersion();
}

The header file qwebkitglobal.h lives in
/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/include/QtWebKit

To me, it looks as if the #include line is missing a "QtWebKit/".
But the same would be true for QtHelp then.

Maybe we do need to tell pyqt explicitly to compile QtWebKit?

Andreas