[Android-development] Getting an Activity instance from C++ code

Mikhail Khvoinitsky mhspacee at gmail.com
Fri Jan 3 06:37:26 CET 2014


Hello.

I am using Qt 5.2.
How I can get the Activity instance from C++ code?
I have tried this solution http://qt-project.org/forums/viewthread/33771 
but it isn't working for me (may be it works only in qt 5.1)

Also, I did find something about activity in Qt Android Extras 
documentation.

Note: My Activity is a subclass of Qt's QtActivity.

Thanks.



More information about the Android-development mailing list