Comment 5 for bug 1858261

Revision history for this message
tomdean (tomdean) wrote : Re: [Bug 1858261] Re: pkg-config can not find Qt5Help. Some package files are missing

On 2020-01-04 01:22, Dmitry Shachnev wrote:
> Then /usr/lib/x86_64-linux-gnu/pkgconfig/Qt5Help.pc is already present.
> Why did you create it manually?
>
> https://packages.ubuntu.com/bionic/amd64/qttools5-dev/filelist
>
> In your manually created file the include path is wrong. You need to
> replace -I${includedir}/QtGui with -I${includedir}/QtHelp.
>

I created the file /usr/lib/x86_64-linux-gnu/pkgconfig/Qt5Help.pc to see
if that was part of the problem.

The file Qt5Help.pc was not on my system.

 > sudo apt-get install libqt5help5 --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
   linux-headers-4.15.0-70 linux-headers-4.15.0-70-generic
   linux-headers-5.0.0-32 linux-headers-5.0.0-32-generic
   linux-image-4.15.0-70-generic linux-image-5.0.0-32-generic
   linux-modules-4.15.0-70-generic linux-modules-5.0.0-32-generic
   linux-modules-extra-4.15.0-70-generic
linux-modules-extra-5.0.0-32-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 15 not
upgraded.
Need to get 0 B/133 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 414587 files and directories currently installed.)
Preparing to unpack .../libqt5help5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5help5:amd64 (5.9.5-0ubuntu1) over (5.9.5-0ubuntu1) ...
Setting up libqt5help5:amd64 (5.9.5-0ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

 > ls /usr/lib/x86_64-linux-gnu/pkgconfig/Qt5Help.pc
ls: cannot access '/usr/lib/x86_64-linux-gnu/pkgconfig/Qt5Help.pc': No
such file or directory

Several of the .h files are missing.

Tom Dean