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 the Module
Using a Qt module requires linking against the module library, either directly or through other dependencies. CMake and qmake build tools are supported.
Building with CMake
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)
Building with qmake
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:
Shows how to use User Profiles functionality from the QtAndroidAutomotive.Base module in a Qt Quick application.
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.
Known issues and limitations
Notifications Listener known issues and limitations
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.