added python 2.4 ignore case for qmake persist

This commit is contained in:
Nick Bolton 2011-01-23 22:31:02 +00:00
parent cc520f08d8
commit 3b3d292f0f
1 changed files with 4 additions and 0 deletions

View File

@ -215,6 +215,10 @@ class InternalCommands:
self.persist_w32_make()
def persist_qmake(self):
# cannot use subprocess on < python 2.4
if sys.version_info < (2, 4):
return
try:
p = subprocess.Popen(
[self.qmake_cmd, '--version'],