Skip to content

Commit

Permalink
Find PyQt5 sip files
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jan 30, 2020
1 parent 81e2dd2 commit 7d4c3c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/FindPyQt5.py
Expand Up @@ -45,7 +45,8 @@
sip_dir = sip_dir.replace(py_version, '')
for p in (os.path.join(sip_dir, "PyQt5"),
os.path.join(sip_dir, "PyQt5-3"),
sip_dir):
sip_dir,
os.path.join(cfg.default_mod_dir, "PyQt5", "bindings")):
if os.path.exists(os.path.join(p, "QtCore", "QtCoremod.sip")):
sip_dir = p
break
Expand Down

0 comments on commit 7d4c3c1

Please sign in to comment.