aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEhsan Azarnasab <dashesy@gmail.com>2015-09-02 11:03:10 -0700
committerChristian Tismer <ctismer@gmail.com>2015-10-05 16:32:24 +0200
commitf83a0edd631cc583fdd1be63dd05fcc951279c3e (patch)
treeabb298aa66e1842ccabf6deb83e3ac95837ea5c2
parent6d1f03aef668e0fb82f5d662da35550fccdb639d (diff)
Try qmake-qt4 before giving up on qmake.
This is specially useful when installing from PyPI that passing --qmake is not as simple as setup.py approach.
-rw-r--r--setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index c4b79324..7d717e01 100644
--- a/setup.py
+++ b/setup.py
@@ -143,6 +143,8 @@ OPTION_OSXARCH = option_value("osx-arch")
if OPTION_QMAKE is None:
OPTION_QMAKE = find_executable("qmake")
+if OPTION_QMAKE is None:
+ OPTION_QMAKE = find_executable("qmake-qt4")
if OPTION_CMAKE is None:
OPTION_CMAKE = find_executable("cmake")