PDA

View Full Version : Is there a C++ alternative to QML/Qt Quick?



Awareness
30th April 2013, 05:12
Is there a C++ alternative to QML/Qt Quick's advanced graphical features?

I want to use C++ for creating UI,I am not interested in Qml language.I have read about Qt Quick C++ module a bit,but I didn't understand it.Does it make it possible to use C++ to write Qt Quick UI?

ChrisW67
30th April 2013, 06:58
You have either the C++/widgets approach, or the Qt Quick approach to generating the UI. Depending on which "advanced graphic features" you mean, some of them are available in the widgets world.

wysota
30th April 2013, 07:20
And have a look at QGraphicsView, it's the closest you can get to QtQuick.

Awareness
30th April 2013, 07:32
Thanks for your answers.

Is it possible to use QT widgets for developing iOS applications?

wysota
30th April 2013, 07:39
In theory yes. But such application would probably look really odd.

anda_skoa
30th April 2013, 18:52
You have either the C++/widgets approach, or the Qt Quick approach to generating the UI. Depending on which "advanced graphic features" you mean, some of them are available in the widgets world.

In Qt5 one can also just use QtGui and develop the UI either using OpenGL or the Qt SceneGraph similar to what QtQuick2 does.

Also, this is mostly orthogonal to whether one wants to code the object tree in C++ or in QML.
QML is just a very nice way to describe trees of elements and dependencies of their properties. Independent of whether that elements are from QtQuick, a self defined UI component set or widgets.

Cheers,
_

Awareness
30th April 2013, 23:57
Thanks for your answers.