News for hackers. Stuff that matters.
Re:Qt 5.6.0 released by ThePhysicist on Wednesday March 16, 2016 @12:28PM (#11298549)
Qt is easily the best cross-platform UI kit that I have used, especially in combination with Python, which turns it into THE rapid prototyping tool.

For my research I used PyQt/PySide to build lots of UI components for controlling my lab equipment, visualizing my data and running code in an interactive way. While doing this kind of thing using a native toolkit (MFC, GTK) would have been possible, it would probably have been much difficult and time-consuming.

For me, Qt is a great example of beautiful and very good software architecture: Creating a cross-platform UI kit that works on platforms as diverse as Linux, Windows, MacOS, Android and Symbian and integrates well with the peculiar set of features of each platform is a daunting task. Qt as a UI abstraction layer solves this really beautifully, and both the philosophy and the architecture of the code is very well thought through. And in the last five years the developers added many interesting ideas (QML, Javascript support) that compete with and sometimes go beyond what's available in many native toolkits. So if you like reading good code you should have a look at Qt.

Re:Qt 5.6.0 released by oblio on Wednesday March 16, 2016 @01:56PM (#11299311)
I think it's a real shame the Python + Qt aren't more developed as a solution for creating cross platform mobile apps.

At the moment there are several community efforts but most of them are half baked and have little adoption :(

Re:Qt 5.6.0 released by pekk on Wednesday March 16, 2016 @03:22PM (#11299983)
The popular mobile platforms have never been very friendly to Python. In each case there was some conscious decision to favor specific languages very heavily rather than making it feasible to use different languages. It is hard to see how say PSF could fix this single-handedly.
Re:Qt 5.6.0 released by vorg on Wednesday March 16, 2016 @06:30PM (#11301175)
JVM languages such as Clojure, Scala and Kotlin are friendly to both mobile and javascript platforms.
Re:Qt 5.6.0 released by anthk on Wednesday March 16, 2016 @04:25PM (#11300401)
" While doing this kind of thing using a native toolkit (MFC, GTK) would have been possible, it would probably have been much difficult and time-consuming."

With Lazarus and FreePascal you could do that in minutes.

Re:Qt 5.6.0 released by pen2l on Wednesday March 16, 2016 @01:14PM (#11298946)
> For my research I used PyQt/PySide to build lots of UI components for controlling my lab equipment, visualizing my data and running code in an interactive way. While doing this kind of thing using a native toolkit (MFC, GTK) would have been possible, it would probably have been much difficult and time-consuming.

Neat. What kind of equipment were you controlling with? Is any of your code available? (I'm doing the same these days)

Re:Qt 5.6.0 released by ThePhysicist on Wednesday March 16, 2016 @02:06PM (#11299397)
All kinds of lab equipment, mostly interfaced via Visa and/or Gpib. My code is on Github:

https://github.com/adewes/pyview

https://github.com/adewes/python-qubit-setup

Re:Qt 5.6.0 released by sciurus on Wednesday March 16, 2016 @01:27PM (#11299071)
For a new project, do you recommend PyQt or PySide?
Re:Qt 5.6.0 released by dikei on Wednesday March 16, 2016 @01:54PM (#11299294)
Stick with PyQt, PySide seems dead.
Re:Qt 5.6.0 released by maheart on Wednesday March 16, 2016 @07:12PM (#11301410)
PySide development was stalled, and its future was uncertain.

However, PySide is being developed again for Qt5: https://github.com/PySide/pyside2

Re:Qt 5.6.0 released by ThePhysicist on Wednesday March 16, 2016 @02:03PM (#11299376)
Yes PySide doesn't even provide Qt 5 bindings, so PyQt remains the best option imho.
Re:Qt 5.6.0 released by zokier on Wednesday March 16, 2016 @01:58PM (#11299330)
Not OP but my 2c; PySide is Qt 4.x only, for for that reason I'd recommend PyQt for new projects.