i find the way and i post it on stackoverflow
have a look: 
http://stackoverflow.com/questions/23446124/solvedbundle-just-onefile

On Saturday, May 3, 2014 7:26:02 PM UTC+4:30, Mahmoodreza Aarabi wrote:
>
> hey guys
> please read all this post and help me.
> i want to create  --onefile executable with pyinstaller.
>
> i have these in Development side:
> windows 8.1 x64
> Qt 5.2.1
> Python 27
> PyQt5.2.1 (that built with Visual Studio 2012)
> Visual Studio 2012
>
> and these in Deployment side (VirtualBox) (as a clean VM):
> windows 8 x64
> vcredist_x64 2012
>
> and this is my simple python program that i want to build:
> #main.py
> import sys
> from PyQt5.QtWidgets import QApplication, QPushButton
>
> app = QApplication(sys.argv)
>
> win = QPushButton("Hello World!")
> win.show()
>
> sys.exit(app.exec_())
> #########################################
> ok, when i build it as --onedir (pyinstaller main.py) it works fine on 
> development side and deployment side.
> when i build it as --onefile (pyinstaller -F main.py) it works fine on 
> development side but it does not work on deployment side.
> and give this error:
> This application failed to start because it could not find or load the Qt 
> platfo
> rm plugin "windows".
> Available platform plugins are: minimal, offscreen, windows.
> Reinstalling the application may fix this problem.
>
> what is my fault?or what is the problem of this building?
> in terms of this error it can not find qt5_plugins folder that is in 
> _MEIxxxxx folder in temp folder.
>
> or,do you think problem is from sys module?if yes, what should i do?
>
> thanks for reply in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to