I'm having trouble determining the Qt package that provides qmake on Fedora 31. I already installed qt5-designer qconf qt5-devel qt5-qtbase qt5-qtbase-devel qt5-qttools qt5-qttools-devel (and dependencies).
$ dnf search qmake Last metadata expiration check: 5 days... ============================= Name Matched: qmake ============================== mingw32-qt5-qmake.x86_64 : Qt5 for Windows build environment mingw64-qt5-qmake.x86_64 : Qt for Windows build environment ============================ Summary Matched: qmake ============================ qconf.x86_64 : Tool for generating configure script for qmake-based projects qconf.x86_64 was installed but does not provide it.
$ dnf provides qmake Last metadata expiration check: 5 days... Error: No Matches found Sorry about this lame question. I can usually find the package on my own.
Which package provides qmake on Fedora 31?
The following works as expected on Debian and Ubuntu. It fails on Fedora 31.
qt-ui$ qmake && make -j 5 bash: qmake: command not found... Similar command is: 'make' And:
$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Fedora Description: Fedora release 31 (Thirty One) Release: 31 Codename: ThirtyOne 15 Answers
The easy way to find out is often just to try installing the file you want:
sudo dnf install /usr/bin/qmake but in this case that won't work because the literal answer to your question is that nothing does - rather qmake-qt5 is provided by qt5-qtbase-devel and qmake-qt4 is provided by qt-devel.
So rather than running qtmake you will need to run one of those, depending on whether you are trying to build for Qt 4 or Qt 5.
On Fedora 34 it is sudo dnf install qt6-qtbase-devel for QT6.
Try this way:
qt-ui$ qmake-qt5 && make -j 5 1On Fedora 33 I had to use sudo dnf install qt5-qtbase-devel to be able to use qmake-qt5.
On Fedora 32, it is qt-devel and qt5-devel for Qt4 and Qt5, respectively.