Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyQt4 Error: Make sure you have a working Qt qmake on your PATH

Tags:

python

qt

qmake

I am attempting to get PyQt4 running on a windows 10 device with python 3.6.3. I have sips installed and built already in my python directory. However, when I run the configure.py/configure-ng.py file in the PyQt4 folder I get the following error: Error: Make sure you have a working Qt qmake on your PATH.

I'm not sure how to fix this problem or what qmake is. I apprectiate any answers on how to fix this!

like image 986
GreenSaber Avatar asked Oct 04 '17 17:10

GreenSaber


People also ask

How to fix qmake is not working on Windows?

To fix this, you need to find out where the qmake executable lives on your system. If you know where the executable installed, just add that directory to your path. If you don't know, you'll have to find it somehow, by searching your computer.

What is qmake in Qt?

Show activity on this post. qmake is the name of Qt's build tool, which generates Makefiles or other files needed to compile code on any platform that Qt supports. To fix this, you need to find out where the qmake executable lives on your system.

Why does /usr/bin/qmake fail to create a makefile?

Error: /usr/bin/qmake failed to create a makefile. Make sure you have a working Qt qmake on your PATH or use the -q argument to explicity specify a working Qt qmake

What is/qt5_sourcecode/configure?

shall I ask what is that ../qt5_sourcecode/configure.... @Asha qt5_sourcecode is just a placeholder for the directory where you extracted Qt source code, replace it with the name of your Qt source code directory... configure is what it is - configure command in Qt source code directory.


1 Answers

qmake is the name of Qt's build tool, which generates Makefiles or other files needed to compile code on any platform that Qt supports. To fix this, you need to find out where the qmake executable lives on your system.

If you know where the executable installed, just add that directory to your path. If you don't know, you'll have to find it somehow, by searching your computer.

like image 199
bnaecker Avatar answered Sep 30 '22 05:09

bnaecker