Public bug reported:

I have qttols5-dev-tools installed, which provides a qthelpgenerator
implementation. But when I try to run qhelpgenerator (or
qcollectiongenerator) through their usual /usr/bin shims, it errors out:

janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ dpkg -S 
/usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator 
qttools5-dev-tools: /usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ ls -l 
/usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator
lrwxrwxrwx 1 root root 31 Apr 14  2018 
/usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator -> 
../../../qt5/bin/qhelpgenerator
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ which qhelpgenerator
/usr/bin/qhelpgenerator
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ ls -l 
/usr/bin/qhelpgenerator
lrwxrwxrwx 1 root root 9 Dec 21  2017 /usr/bin/qhelpgenerator -> qtchooser
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ qhelpgenerator -v
qhelpgenerator: could not find a Qt installation of ''
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ qcollectiongenerator -v
qcollectiongenerator: could not find a Qt installation of ''
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ 

Running them directly works:

janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ 
/usr/lib/x86_64-linux-gnu/qt5/bin/qhelpgenerator -v
Qt Help Generator version 1.0 (Qt 5.9.5)
janke@ubuntu:~/local/repos/octave-addons-chrono/doc$ 
/usr/lib/x86_64-linux-gnu/qt5/bin/qcollectiongenerator -v
Qt Collection Generator version 1.0 (Qt 5.9.5)


But most software will locate the /usr/bin shims instead of this actual binary.

Looks like a problem with qtchooser?

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: qtchooser 64-ga1b6736-5
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 16 20:00:43 2019
Dependencies:
 gcc-8-base 8.2.0-1ubuntu2~18.04
 libc6 2.27-3ubuntu1
 libgcc1 1:8.2.0-1ubuntu2~18.04
 libstdc++6 8.2.0-1ubuntu2~18.04
InstallationDate: Installed on 2019-01-15 (1 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: qtchooser
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: qtchooser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812150

Title:
  qhelpgenerator and qcollectiongenerator will not run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtchooser/+bug/1812150/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to