I figured it out. I had to copy the file C:\Python34\Lib\site-packages\PyQt5\qml\QtQuick.2\qmldir to C:\Python34\Lib\site-packages\PyQt5\examples\quick\models\stringlistmod el\dist\stringlistmodel\qml\QtQuick.2. I think pyinstaller should've copied that as well, but it didn't.