Set the Qt5 search path on FreeBSD

This commit is contained in:
Thomas Nagy 2016-05-01 16:21:23 +02:00
parent e7aa8349be
commit 568cd6881d
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ def find_qt5_binaries(self):
# no qtdir, look in the path and in /usr/local/Trolltech
if not qtdir:
paths = os.environ.get('PATH', '').split(os.pathsep)
paths.append('/usr/share/qt5/bin/')
paths.extend(['/usr/share/qt5/bin', '/usr/local/lib/qt5/bin'])
try:
lst = Utils.listdir('/usr/local/Trolltech/')
except OSError: