I've also found this: https://doc-snapshots.qt.io/qt6-dev/qnativeinterface-qandroidapplication.html#details

It says it can be accessed through QCoreApplication::nativeInterface().

I've tried: QCoreApplication::nativeInterface()->context(). It does not compile: mysterious error : call to non-static member function without an object argument ..\untitled3\main.cpp:14:23: error: call to non-static member function without an object argument
    QCoreApplication::nativeInterface()->context();
    ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

Again, no documentation can be find anywhere about this native interface....


On 9/18/2021 3:55 PM, Alexander Dyagilev wrote:
I did find this (using Google): https://doc-snapshots.qt.io/qt6-dev/qtandroidprivate.html

But I can't use it: #include <QtAndroid> does not work - it says: fatal error: 'QtAndroid' file not found. Qt 6.2 RC...

On 9/18/2021 3:53 PM, Alexander Dyagilev wrote:

Hello,

I'm trying to port my Android application from Qt5 to Qt6. Documentation seems to be very poorly organized. I can't find anywhere a section about new Qt Android classes.

Can someone please give me the link (if any)?

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to