[Touch-packages] [Bug 1812150] Re: qhelpgenerator and qcollectiongenerator will not run
Sounds good. I'll take it up with the Qt folks. -- 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= 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
[Touch-packages] [Bug 1812150] Re: qhelpgenerator and qcollectiongenerator will not run
> qtchooser could use a more informative error message, though. I agree. > Who maintains qtchooser? Is that you (Ubuntu)? No, it is maintained here (not very actively, though): https://code.qt.io/cgit/qtsdk/qtchooser.git/ https://codereview.qt-project.org/#/q/project:qtsdk/qtchooser,n,z For Qt 6, we will try to get rid of qtchooser in favour of something else. See the thread starting at: https://lists.qt- project.org/pipermail/development/2018-November/068691.html qt5-default is our (Debian / Ubuntu) specific package, though. > What's going to happen with the `qcollectiongenerator` shim with Qt 5.12? With qt5-default installed (or QT_CONFIG=5), you will get exit code 1 and this message: qcollectiongenerator: could not exec '/usr/lib/qt5/bin/qcollectiongenerator': No such file or directory -- 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= 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
[Touch-packages] [Bug 1812150] Re: qhelpgenerator and qcollectiongenerator will not run
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= 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
[Touch-packages] [Bug 1812150] Re: qhelpgenerator and qcollectiongenerator will not run
Ah, that makes sense. Sorry for my ignorance. I installed the qt5-default package and qhelpgenerator works as expected now. qtchooser could use a more informative error message, though. I'm a pretty experienced programmer, and I didn't know what to make of "could not find a Qt installation of ''"; I can only imagine what a beginning user would think. Who maintains qtchooser? Is that you (Ubuntu)? I'd like to discuss this with them. -- 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= 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
[Touch-packages] [Bug 1812150] Re: qhelpgenerator and qcollectiongenerator will not run
This is how qtchooser works. You need to install qt5-default package which provides a proper configuration, or export QT_SELECT=5, or run “qhelpgenerator -qt5” and so on. ** Changed in: qtchooser (Ubuntu) Status: New => Invalid -- 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= 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