qmake not found.

Siniser

New Member
Joined
Jun 6, 2019
Messages
6
Reaction score
0
Credits
0
Hi all,

I'm new to Linux, and still learning my way around. I'm trying to install a program but am encountering an error.
I downloaded the .tar.gz file and extracting it using "tar xzvf filename.tar.gz". No problems so far, it extracted fine.
I then proceed to follow the instructions in the install file which says I must run "./configure".
I then get the following output:

checking for Qt5 qmake >= 5.5.1... not found
configure: error: Could not find qmake

I've searched but could not locate a solutinon yet.
Could anybody please advise me on how to fix this error.
 


1) What distro are you using?
2) What is the program you are trying to install? Why are you not installing from Repository?
3) Is qt-qmake installed? Or do you need to install it?
 
1) What distro are you using?
2) What is the program you are trying to install? Why are you not installing from Repository?
3) Is qt-qmake installed? Or do you need to install it?

1. I'm using Zorin
2. qBittorrent, Because I want to learn to do it in command line.
3. I did do a seach using apt-ache searche qmake, then installed qt5-qmake, but still having the same problem.
 
sudo apt-get install qt5-qmake
[sudo] password for andre:
Reading package lists... Done
Building dependency tree
Reading state information... Done
qt5-qmake is already the newest version (5.5.1+dfsg-16ubuntu7.6).
The following packages were automatically installed and are no longer required:
gir1.2-appindicator3-0.1 liba11y-profile-manager-0.1-0
liba11y-profile-manager-data python-bittorrent
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 376 not upgraded.
 
Because I want to learn to do it in command line.

But you can use the command line to install from Repository, just issue the command
Code:
sudo apt install qbittorrent
 
  • Like
Reactions: Rob
But you can use the command line to install from Repository, just issue the command
Code:
sudo apt install qbittorrent

Fantastic! Thank you so much.
It is now installed. Could you please explain to me the difference between
Code:
apt install
and
Code:
apt-get install

And also if in the future I need to install a program and get the same error and it is not in the repository?
 
Take a look to see if /usr/lib/qt5/bin/qmake exists.. if so, try:
Code:
./configure --qmake /usr/lib/qt5/bin/qmake

That directory does not exist.
Although if I trie to install qt5-qmake I get this:
Code:
sudo apt-get install qt5-qmake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
qt5-qmake is already the newest version (5.5.1+dfsg-16ubuntu7.6).
0 upgraded, 0 newly installed, 0 to remove and 376 not upgraded.
 
Fantastic! Thank you so much.
It is now installed. Could you please explain to me the difference between
Code:
apt install
and
Code:
apt-get install

And also if in the future I need to install a program and get the same error and it is not in the repository?

This site has a good explanation:
 
Take a look to see if /usr/lib/qt5/bin/qmake exists.. if so, try:
Code:
./configure --qmake /usr/lib/qt5/bin/qmake
I have the same problem,
Code:
checking for Qt5 qmake >= 5.9.0... not found
configure: error: Could not find qmake
I checked the folder you mentioned, found it (it exists, of course), I have applied the command as you suggested, but it didn't work
Code:
$ ./configure -qmake /usr/lib/qt5/bin/qmake                               1 ⨯
configure: error: unrecognized option: `-qmake'
Try `./configure --help' for more information
I use a fresh install of Kali Linux 2020.4
With the 2020.3 I had no problems, it seemed it was created for general use as well, but now, I meet these problems... I cannot install from repositories, a lot of things actually, like vlc and deluge...
This question appeared when trying to configure qbittorrent-4.3.0.1 I have installed vlc through snap, but it looks nothing as what I had.
Can you help with that command, please?
 

Members online


Latest posts

Top