You can find a lot of nice info about compiling on the Qt webpage, here:
It’s very important not to forget to include the modules atexit and PySide.QtNetwork.

In windows go to the folder you installed GUI2Exe, and run, from the toolbar on the right select cx_freeze and configure it like in the image:

Then click compile and you should have a ‘\player\dist\win32’ folder with a ‘player.exe’ in it. But that’s not all, you still have to do a small tweak, or else your app won’t be able to show .gif and .jpg pictures. For this you must copy the PySide plug-in file from your Python installation folder. Mine are in: C:\Python27\Lib\site-packages\PySide\plugins.

After you compile you can create an installer using a tool called Inno Setup.

You can do a similar compilation on Linux and MacOs.

I’ve uploaded a video on youtube:

Back to Contents

This entry was posted in PySide, Python, TubePlayer and tagged , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

One Response to Compiling

  1. Pingback: The Code | CodeForce

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s