ubuntu package management question

Robert Heller heller at deepsoft.com
Fri Dec 11 22:05:41 UTC 2020


At Fri, 11 Dec 2020 18:38:48 +0100 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Fri, Dec 11, 2020 at 4:05 PM Robert Heller <heller at deepsoft.com>
> wrote:
> >
> > Not in this case.  There is actually a file /usr/bin/qmake, which
> > is a symlink to qtchooser, which when run gives the error:
> >
> > gollum% /usr/bin/qmake
> > qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake':
> > No such file or directory
> 
> $ apt-file search -x ".*qmake$"
> qt5-qmake: /usr/bin/x86_64-linux-gnu-qmake
> qt5-qmake: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
> qt5-qmake-bin: /usr/lib/qt5/bin/qmake
> qtchooser: /usr/bin/qmake
> root lap /home/root
> $

qtchooser seems to default to qt4 and I couldn't figure out how to make it use 
qt5's qmake.  I ended up creating a symlink: /usr/bin/qmake5 => 
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake and was able to build the package I 
needed to build.

> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                            




More information about the ubuntu-users mailing list