• Important: We recently upgraded our forum software - please let us know if you run into any issues.

qmake not found.

Siniser

New Member
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.
 


arochester

Moderator
Staff member
Gold Supporter
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?
 

Siniser

New Member
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.
 

Siniser

New Member
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.
 

arochester

Moderator
Staff member
Gold Supporter
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

Siniser

New Member
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?
 

Siniser

New Member
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.
 

Rob

Administrator
Staff member
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:
 

Members online


Top