Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[SOLVED] Need help to integrate C++ and QML

$
0
0
Hi, I’m trying to develop an application using QtQuick for the UI and C++ for the interface, but I’m having trouble connecting both lands. So far I was able to follow the tutorials at http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-topic.html , but I don’t fully understand what’s going on. To complicate matters, a lot of Qt tutorials related to QML use different classes, (QQmlApplicationEngine instead of QQmlEngine and so forth). The documentation for these classes is not clear to me as to what their function is, so can someone explain to me what’s the relationship between all these QQmlEngine, QQmlComponent, QQmlContext ? Sorry if I’m too generic on my question, but I really need to figure this out. Thanks in advance, Lgb.

Viewing all articles
Browse latest Browse all 4972

Trending Articles