Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qmake not found?? (Fedora 28)



  • Hi, what I'm basically trying to do is build the QMYSQL plugin, except I'd technically need qmake, which, up to this point I didn't know it was actually missing from my system (I'm using Fedora 28). To clarify things, I have been doing the following things:

    • I searched for qmake in /home/<username>/Qt/5.11.0/gcc_64/bin/, but didn't find qmake
    • I entered the command which qmake and got /usr/bin/which: no qmake in (/home/catalin/.local/bin:/usr/local/bin:/usr/bin:/bin:/home/catalin/bin:/usr/local/sbin:/usr/sbin)
    • I entered the command qmake -v and got command not found: qmake

    From these I can clearly deduce that qmake is really not installed, which stunned me a bit, because my Qt installation went perfectly. I also searched for all kinds of qt packages in the Fedora repository, but most packages with everything required are already installed, and others are just not relevant. What could the problem be? I saw that for most people, they still had qmake present in the gcc/bin/ location, but I don't.


  • Lifetime Qt Champion

    Hi,

    If there's no qmake in the bin folder of your Qt installation, then there's something wrong with said installation.

    You should try to re-install that version of Qt.



  • @SGaist Hmm, that is quite inconvenient


  • Lifetime Qt Champion

    I do agree. I don't know what happened to the qmake executable that should have been there.

    In any case, there has been new release of 5.11 so this is your chance to update to a more recent version at the same time.



  • Yeah, now I'm even more stunned. Even though I've previously searched the bin directory thoroughy for qmake and didn't find it, now magically showed itself. I'm quite astounded, I don't understand why it didn't show up before. In fact, I did take the whole path to bin and added qmake at the end and said that qmake didn't exist, but now it works. Wow.


  • Lifetime Qt Champion

    @DoubleC122 said in Qmake not found?? (Fedora 28):

    In fact, I did take the whole path to bin and added qmake at the end and said that qmake didn't exist

    Most probably you had a type in the path


Log in to reply