How To Run Qt Platform Plugin On Windows
I use Anaconda3 5.2.0 and jupyter notebook(python3)(Window10) I made a file through 'pyinstaller'. But when I play file that I made, It has some Error.\ there are qwindows, qoffsc
Solution 1:
I had a similar problem. With Anaconda, you need to bundle the platforms directory with your frozen application. I do it as follows:
def get_include_files():
file_list = []
d = os.path.abspath('C:\Anaconda2\envs\py3k\Library\plugins\platforms') #You need to change this
file_list.append(d)
#file_list.append('images')
return file_list
Then in setup.py, just add these files as follows:
'build_exe': {
'include_files': get_include_files()
},
Post a Comment for "How To Run Qt Platform Plugin On Windows"