Pyside/PyQT and QML: learn Pyside first, or both at same time?
I have been learning to use Qt in Python using PySide. I am relatively new to Python, and have been learning PySide for two weeks now.
Today when I went to the PySide page for tutorials, they are all tutorials on QML (http://srinikom.github.io/pyside-doc...als/index.html). So now I'm a little worried. Am I wasting my time with PySide? Should I learn PySide before QML? Can I use QML with Python if I am not a Javascript user? Why does a PySide site have tutorials in QML and not pure PySide? Is it expected that modern applications will use QML in conjunction with PySide?
In terms of goals: I want to build a desktop application in which users can move around elements easily and seamlessly, and I planned to use PySide. Frankly it looks like QML might be better. If this is true, should I still just focus (for now) on learning PySide, and then once I know that to a decent level, start to put my toe into QML? That is, is there a natural learning progression where QML will come second, or since I'm just starting out, will my progress be fastest if I do both in parallel?
OR perhaps my questions show I am fundamentally confused? Sorry this is scattershot.
Related bits I have found:
http://pysnippet.blogspot.com/2011/0...e-and-qml.html
http://qt-project.org/wiki/Hello-Wor...de-and-QtQuick
http://qt-project.org/wiki/PySide-QtQuick-Tutorials
Re: Pyside/PyQT and QML: learn Pyside first, or both at same time?
You are looking at two different levels of an application.
PySide, as one of the Python bindings for Qt, is for programming with Qt in Python.
So like PyQt it can be used to create Qt applications instead of using C++.
QML, is most often used with QtQuick to describe highly dynamic user interfaces.
An application usually has more than just a user interface, so the application's core or logic needs to be implemented somehow.
That is usually done in C++, but Python bindings can obviously used to do that part in Python.
There is even a set of Python bindings that has been specifically developed for being used with QML: PyOtherSide
Cheers,
_
Re: Pyside/PyQT and QML: learn Pyside first, or both at same time?
Thanks a lot, this has been driving me crazy for a long time, it is useful to have that explanation.
I wonder why PySide only has QML tutorials on their home page when you click on PySide tutorials...weird.
Re: Pyside/PyQT and QML: learn Pyside first, or both at same time?
PySide was created at a time when Nokia was focusing heavily on QML.
This might have influenced which topics the learning material went for.
Cheers,
_