Qt Android Automotive Base Module
The Qt Android Automotive Base module contains APIs to manage various Android Automotive features. It contains classes that other Qt for Android Automotive modules may depend on. These classes are small and potentially low level features that integrate with the Android Automotive OS.
To include the definitions of the module's classes, use the following directive for C++:
To use the QML types, add the following import statement to your .qml file:
Using a Qt module requires linking against the module library, either directly or through other dependencies. CMake and qmake build tools are supported.
target_link_libraries() commands to locate and link the needed module component from the Qt6 package:
find_package(Qt6 REQUIRED COMPONENTS AndroidAutomotiveBase) target_link_libraries(mytarget PRIVATE Qt::AndroidAutomotiveBase)
androidautomotivebase to the
QT += androidautomotivebase
Some of the APIs in the module need Android permissions to function properly. For more details, see Permissions in Qt Android Automotive Base Module.
Links to the API reference materials:
Demonstrates usage of the AndroidAppsUtils QML component from the QtAndroidAutomotive.Base module.
Uses the Qt Android Notifications Listener QML API to make an interactive notifications list.
Demonstrates usage of the Qt Android Apps Utils API with multi-screen support.
Checking whether access to notifications has been granted requires Android API 27 or higher to work properly.
Available under certain Qt licenses.
Find out more.