summaryrefslogtreecommitdiffstats
path: root/build/qt5.py
diff options
context:
space:
mode:
Diffstat (limited to 'build/qt5.py')
-rw-r--r--build/qt5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/qt5.py b/build/qt5.py
index 50fcbd433a..674abef60a 100644
--- a/build/qt5.py
+++ b/build/qt5.py
@@ -550,9 +550,9 @@ def _find_qtdirs(qt5dir, module):
else:
module5 = module
if not os.path.isdir(QT5LIBDIR):
- QT5LIBDIR = subprocess.Popen(["pkg-config", "--variable=libdir", module5], stdout = subprocess.PIPE).communicate()[0].rstrip()
+ QT5LIBDIR = subprocess.Popen(["pkg-config", "--variable=libdir", module5], stdout = subprocess.PIPE).communicate()[0].rstrip().decode()
if not os.path.isdir(QT5INCDIR):
- QT5INCDIR = subprocess.Popen(["pkg-config", "--variable=includedir", module5], stdout = subprocess.PIPE).communicate()[0].rstrip()
+ QT5INCDIR = subprocess.Popen(["pkg-config", "--variable=includedir", module5], stdout = subprocess.PIPE).communicate()[0].rstrip().decode()
finally:
pass
return QT5LIBDIR, QT5INCDIR, os.path.join(QT5INCDIR,module)