C
What's New In This Release
The Qt for Android Automotive 6.5 release is significant in a number of ways.
Note: Some features are at the technology preview stage and will be marked as such in the API documentation and the change log.
Architecture change
Normally Qt products do not have binary or source breaks between minor releases. However, given that Qt for Android Automotive is a young product we took the opportunity to improve the encapsulation, ease of use, and deployment of the APIs. This was done by reorganizing existing classes and types into logically grouped modules. This structure also will reduce the development effort required for future additions to the APIs.
New features
For a good overview of the features introduced in this release see the Qt for Android Automotive 6.5 is released blog post.
Porting from 6.4 to 6.5
There are source and binary compatibility breaks between Qt for Android Automotive versions 6.4 and 6.5. All classes and types should be considered deprecated with the following exceptions:
- The Qt Android Activity View Module remains unchanged. No changes are required.
- The method for using the Qt IF Android Vehicle Properties has not changed. No changes are required.
Practically, the deprecated classes and types have only been moved so the only two things required to port your application to Qt for Android Automotive 6.5.
- Update the import or include statements in your code.
- Update the library linking statements in your project's CMakeList.txt file.
For details see the statements at the top of all namespace, class, and QML type documentation pages.
API change details
New Classes
New Member Functions
Class QAndroidAppsUtils:
int | appUid(const QString &packageName) |
bool | startAppOnScreen(const QString &packageName, const QScreen *screen) |
bool | startAppOnScreen(const QString &packageName, int displayId) |
Class QAppItem:
int | uid() const |
New QML Types
New QML Properties
QML Type AndroidUserProfiles:
currentUser : AndroidUserDetails |
New QML Methods
QML Type AndroidAppsUtils:
int | appUid(string packageName) |
bool | startAppOnScreen(string packageName, const QQuickScreenInfo *screenInfo) |
bool | startAppOnScreenById(string packageName, int displayId) |
Available under certain Qt licenses.
Find out more.