Skip to content
Permalink
Browse files

OpenBSD patch for PyQt5

  • Loading branch information
lbartoletti authored and 3nids committed Jan 29, 2018
1 parent 4c436e5 commit 378191d2493990ed9728aa2778a585a8d85bba0c
Showing with 3 additions and 1 deletion.
  1. +3 −1 cmake/FindPyQt5.py
@@ -43,7 +43,9 @@
if sys.platform.startswith('freebsd'):
py_version = str(sys.version_info.major) + str(sys.version_info.minor)
sip_dir = sip_dir.replace(py_version, '')
for p in (os.path.join(sip_dir, "PyQt5"), sip_dir):
for p in (os.path.join(sip_dir, "PyQt5"),
os.path.join(sip_dir, "PyQt5-3"),
sip_dir):
if os.path.exists(os.path.join(p, "QtCore", "QtCoremod.sip")):
sip_dir = p
break

0 comments on commit 378191d

Please sign in to comment.
You can’t perform that action at this time.