mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-07 22:23:12 +08:00
added python 2.4 ignore case for qmake persist
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user