One other follow-up question: What's going to happen with the `qcollectiongenerator` shim with Qt 5.12? The qcollectiongenerator program was merged into qhelpgenerator. Will /usr/bin/qcollectiongenerator become an alias to qhelpgenerator? I'm asking because build scripts that work with multiple versions of Qt need to detect which program to call, and some of them do it by probing for the presence of qcollectiongenerator, and if it exists, using that.
(I did Google for this, and didn't find anything useful.) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtchooser in Ubuntu. https://bugs.launchpad.net/bugs/1812150 Title: qhelpgenerator and qcollectiongenerator will not run Status in qtchooser package in Ubuntu: Invalid Bug description: 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtchooser/+bug/1812150/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp