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
↧