________________________________
From: [email protected] <[email protected]>
Sent: April 18, 2017 1:45 PM
To: [email protected]
Subject: Re: [Emc-developers] Emc-developers Digest, Vol 132, Issue 12


Python 3 came out 9 years ago and has never taken off because of the
backward incompatibilities with python 2
Until the major libraries available in 2 are ported to 3, that looks
likely to continue.

The EOL for python 2.7 (which already has some of the major changes in 3
backported to it) was originally 2015 and this was extended
again to 2020.  That could happen again, or the python org could finally
admit they made a massive mistake and try to fix it :)

>
>

Yes I feel python 2.x is where I will stay for now.
I also don't see it too bad to convert in the future if warranted.

> PYQT4 or 5 ?
>


Qt4.8 is EOL and even Qt5 is getting near to spawning into v6

Wheezy likewise is only receiving security updates, with more backports
are available and Debian will pull the plug on it completely next year.

Qt5 and Jessie is the only sane option to my mind, Qt5 is now default in
Stretch too, but 4.8 is still supported probably for the reasons below.
>
>
> I haven't read any significant  differences between qt4/5 I just would like 
> to future proof the work.

There are problems with Qt5, specifically in the area of X.
The X implementation in Qt5 will prevent any Qt5 program from displaying
at all, in an icewm window manager system for instance.
A lot of the problems I have read about centre on video cards, GUIs,
openGL etc

More serious potentially to a VCP, is X embedding.
Under 4.8 I could embed a gremlin window into a Q11XEmbedContainer or
Q11XEmbedWidget quite simply.

Qt5 did away with these classes.
They maintain that you can use other classes to achieve the same, but
last time I tried it, they didn't work.
I haven't tried for quite a while and this suggests it can be done by
another route
http://stackoverflow.com/questions/32703557/qx11embedcontainer-equivalent-in-qt5

Just be sure that whatever you produce can embed and be embedded OK.

The other changes are largely headers due to class reorganisation
changes etc etc, in C++ at least, I don't use python.

Good luck.
>

Ok that is more more serious -thanks for the heads up.
I currently embed Gremlin  just as you did.
I tried to peek at your (I assume C++) display widget in machinekit to see if i 
could
pythonize it (gasp I know ) but stopped when I figured out how to embed gremlin.

That is a real shame about lack of embedding.
Thanks for the info.

Chris M
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to