You are not logged in.

#1 2013-10-01 07:31:58

chord
Member
Registered: 2012-11-07
Posts: 121

make fails with 'qmake not found' message

Hi
Can't build qt app due to error: "could not exec '/usr/lib/qt4/bin/qmake': No such file or directory"
I've checked this directory - file exists,

[crow@nest bin]$ file qmake
qmake: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=42bd35b01fb040951a5c2c66ed28fd09b1c6a463, stripped

system is x86-64, why make can't use it? Where this problem arises from?
Thanks

Last edited by chord (2013-10-01 08:03:00)

Offline

#2 2013-10-01 07:49:56

phw
Member
Registered: 2013-05-27
Posts: 129

Re: make fails with 'qmake not found' message

You are sure qmake is in /usr/lib/qt/bin ? On my system it is located at /usr/lib/qt4/bin

Offline

#3 2013-10-01 08:02:46

chord
Member
Registered: 2012-11-07
Posts: 121

Re: make fails with 'qmake not found' message

Yeah, it is just a typo, /usr/lib/qt4/bin.

Offline

#4 2013-10-15 19:20:12

satanselbow
Member
Registered: 2011-06-15
Posts: 530

Re: make fails with 'qmake not found' message

A bit ugly... but...

# mkdir -p /usr/lib/qt/bin
# ln -s /usr/bin/qmake-qt4 /usr/lib/qt/bin/qmake

Offline

#5 2013-10-18 15:23:39

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 31

Re: make fails with 'qmake not found' message

What does

# ldd /usr/lib/qt4/bin/qmake

says?

Offline

#6 2013-10-19 01:44:42

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,721

Re: make fails with 'qmake not found' message

Uhm, fix the build script instead of using ugly workarounds.


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2013-11-17 21:05:23

vap
Member
Registered: 2013-11-17
Posts: 1

Re: make fails with 'qmake not found' message

How about

qmake -qt=4

as a workaround?

Offline

Board footer

Powered by FluxBB