build/make/configure: its need to be "qt4-qmake" not "qmake-qt4" (on debian-based) (with solution) #2898

Closed
opened 2026-02-21 16:28:21 -05:00 by deekerman · 3 comments
Owner

Originally created by @WaterSibilantFalling on GitHub (Aug 6, 2015).

when building, ./configure won't run, incorrectly returning the error

checking whether Qt5 should be enabled... no
checking for /qmake... no
checking for /qmake-qt4... no
checking for Qt4 qmake >= 4.8.0... not found
configure: error: Could not find qmake

when qt4-qmake is installed.

The cause is that it is incorrectly looking for "qmake-qt4" instead of "qt4-qmake"

Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) i686 GNU/Linux
qbittorrent-3.2.3.tar.gz

maybe
configure.ac:$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro
is the problem?

Note that it is looking for **/**qmake

Originally created by @WaterSibilantFalling on GitHub (Aug 6, 2015). when building, ./configure won't run, incorrectly returning the error checking whether Qt5 should be enabled... no checking for /qmake... no checking for /qmake-qt4... no checking for Qt4 qmake >= 4.8.0... not found configure: error: Could not find qmake when qt4-qmake is installed. The cause is that it is incorrectly looking for "qmake-qt4" instead of "qt4-qmake" Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) i686 GNU/Linux qbittorrent-3.2.3.tar.gz maybe configure.ac:$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro is the problem? Note that it is looking for **/**qmake
deekerman 2026-02-21 16:28:21 -05:00
  • closed this issue
  • added the
    OS: Linux
    label
Author
Owner

@sledgehammer999 commented on GitHub (Aug 6, 2015):

It's looking for the name of the binary. On debian unstable it is named qmake-qt4. (and qmake)
What is your distro ?
Have you installed libt4-dev ?

@sledgehammer999 commented on GitHub (Aug 6, 2015): It's looking for the name of the binary. On debian unstable it is named `qmake-qt4`. (and `qmake`) What is your distro ? Have you installed libt4-dev ?
Author
Owner

@WaterSibilantFalling commented on GitHub (Aug 7, 2015):

my distro is Debian testing (stretch), up to date.
Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) i686 GNU/Linux

I had not installed libqt4-dev. I tar -zxf 'd the tar file, and ran ./configure, oldschool.
The error did not seem to lead to libqt4-dev.

I have qmake installed:

locate qmake | grep bin
/usr/bin/qmake
/usr/bin/qmake-qt4
/usr/lib/i386-linux-gnu/qt4/bin/qmake
/usr/lib/i386-linux-gnu/qt5/bin/qmake
/usr/share/qt4/bin/qmake

I have now found your https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Compiling_qBittorrent_with_the_GUI page, so following that.

a separate not, libtorrent gives
configure: WARNING: unrecognized options: --with-geoip
when configured as instructed there.

@WaterSibilantFalling commented on GitHub (Aug 7, 2015): my distro is Debian testing (stretch), up to date. Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) i686 GNU/Linux I had not installed libqt4-dev. I tar -zxf 'd the tar file, and ran ./configure, oldschool. The error did not seem to lead to libqt4-dev. I have qmake installed: > locate qmake | grep bin > /usr/bin/qmake > /usr/bin/qmake-qt4 > /usr/lib/i386-linux-gnu/qt4/bin/qmake > /usr/lib/i386-linux-gnu/qt5/bin/qmake > /usr/share/qt4/bin/qmake I have now found your https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Compiling_qBittorrent_with_the_GUI page, so following that. a separate not, libtorrent gives configure: WARNING: unrecognized options: --with-geoip when configured as instructed there.
Author
Owner

@sledgehammer999 commented on GitHub (Aug 7, 2015):

configure: WARNING: unrecognized options: --with-geoip

I fixed it. It should be--with-libgeoip

I tar -zxf 'd the tar file, and ran ./configure, oldschool.

Then the problem is qt was installed in a place where qbt couldn't find it.
Anyway, now using my instructions from the wiki you should be able to compile.

@sledgehammer999 commented on GitHub (Aug 7, 2015): > configure: WARNING: unrecognized options: --with-geoip I fixed it. It should be`--with-libgeoip` > I tar -zxf 'd the tar file, and ran ./configure, oldschool. Then the problem is qt was installed in a place where qbt couldn't find it. Anyway, now using my instructions from the wiki you should be able to compile.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#2898
No description provided.