Does anyone know anything about this recent update in the pyside 2 wiki? How are we requiring Pyside 2 & python 3 if that is the case?
I totally agree with Deke on the x-Platform point. For us it is super important to have Windows support as well and i am sure the big software vendors will want that too. So, either we go the Python 3 route or we again have to maintain a custom Qt5 build which can support Python 2 bindings.
I’m assuming the driving force on Windows is that the python.org binary distribution is using the older Visual Studio 2008 compiler.
Â
If one is not using that binary distribution and building Python from source using a later version, then there is no issue with building/running PySide2 for your own build of Python
Â
Yes that can make 3rd party modules incompatible due to the different Windows VC runtimes,  though many of them can be rebuilt or have additional builds themselves that can be used.
Or other means of using them
Â
Wayne
--
You received this message because you are subscribed to the Google Groups "vfx-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
vfx-platform-dis...@googlegroups.com.
To post to this group, send email to
vfx-platfo...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/vfx-platform-discuss/CAOOm49S2KJznf_2-un%2BBxdY8onQb7LWRGMFXRXXjgZZtfQbifQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Note that the PySide2 github  is not the work being done by The Qt Company, where their current development is taking place
Â
For future generations wondering what we’re all talking about once the Wiki page has changed.
And a copy for completeness.
Welcome to the pyside2 wiki!
PySide is a Python 2/3 binding for Qt4.
PySide2 is a binding for Python 3 and Qt5.Why there is no PySide2 for Python 2? Because Python 2 extensions like PySide need to be compiled with ancient version of MS Visual C++ 9 and that means that all linked libs including Qt need to be compiled with this version. But Qt5, the library that PySide2 wraps, dropped support for MS VC++ 9, and code is unlikely to compile for it anymore. The only solution to fix this, is to help with development and funding of https://mingwpy.github.io/
To view this discussion on the web visit https://groups.google.com/d/msgid/vfx-platform-discuss/9B32232F-EE1D-4364-A3DC-63FB7E724077%40autodesk.com.
--
You received this message because you are subscribed to the Google Groups "vfx-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vfx-platform-dis...@googlegroups.com.
To post to this group, send email to vfx-platfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vfx-platform-discuss/7015517a-5376-47d6-9938-c4b59da47660%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "vfx-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vfx-platform-dis...@googlegroups.com.
To post to this group, send email to vfx-platfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vfx-platform-discuss/51cdc6e5-f00a-4a8c-8e49-c681982866ee%40googlegroups.com.
What that means is, if you build your Python 2 and any package you need using VS2012 you're good to go until Python 2 support may be broken within PySide2.Â
The continuous integration files in their original GitHub repository has got some hints on how to build it for 2.7 on Ubuntu 14.04 (.travis.yml) and Windows (appveyor.yml).
If you aren’t familiar with these services, they are more or less a remote computer running each line in the script
portion of these files on a newly installed copy of the corresponding OS. So, in theory, if your system is pure enough you should be able to run these commands yourself without issues.
Granted, they apply to the version of PySide in that repo, which is no longer up to date. You could give the same commands a try with the latest repo too and hope for the best.
$ git clone https://code.qt.io/pyside/pyside-setup
So I don't suppose, Any one is keen to make installer for python 2.7, QT, PySide?
I assume one or many people have been forced to do it, has any one got any advice?
--
You received this message because you are subscribed to the Google Groups "vfx-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vfx-platform-discuss+unsub...@googlegroups.com.
To post to this group, send email to vfx-platform-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vfx-platform-discuss/6eee6caf-08ae-4f2d-8c15-554a6ecb0347%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Call me crazy but one day it would be nice to be able to download the
VFX reference platform.
That can definitely be done. Here’s one way of doing this with PyQt5.
The tricky part is knowing what to bundle, though it should be relatively similar, if not exactly the same, for both PyQt5 and PySide2.
Hm, interesting. I’m now having wheels built by Travis/AppVeyor and uploaded to Bintray on all commits for all branches/pull requests, so if anyone has the time I more than welcome anyone to take a look at that and make a pull request.
https://github.com/fredrikaverpil/pyside2-wheels
// Fredrik
That is one mammoth effort, great job Fredrik!
Thanks! Yeah, hehe. It took some time to get Travis and AppVeyor to play nice since I can’t run those locally.
How does one use the fruits of this labour?
I wish I could tell you to just download the wheel of choice from Bintray and pip install it. But since the wheels aren’t standalone/portable, you first have to make sure to have Python and Qt5 installed of the appropriate versions, installed in the appropriate paths locally. The details on these environments can be seen in various places in the Github repository depending on your OS:
Dockerfiles-<os-version>
for CentOS 7 or Ubuntu 16.04.travis.yml
for OS Xappveyor.yml
for WindowsThese wheels also have the same issue as the official PySide(1) wheels, which means you have to perform the following prior to performing e.g. a from PySide2 import QtWidgets
:
export DYLD_LIBRARY_PATH=/usr/local/lib/python3.5/site-packages/PySide2/
I’ll add this info to the project’s README, as well as instructions on how to install the wheels on the other platforms.
// Fredrik
I had one thought, about OS compatibility. It can be a good idea to compile your wheels with the oldest distribution possible. Simply because builds on older distributions are more likely run on newer ones than vice versa.
Yes, this crossed my mind too. Now that the project is up and building automatically on commits and pull requests, such development could be easier to implement.
As always, feel free to submit a PR! :)