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

How to access QQmlApplicationEngine?

$
0
0
Hi, I set in my main method my QQmlApplicationEngine and load my main.qml. I need to access the engine in another class. What is the best approach to do that? Global variable? Something similar to “QSqlDatabase::database(“myDatabase”);” Thanks

Viewing all articles
Browse latest Browse all 4972

Trending Articles