Prerequisites Checkup

The Qt Android Automotive back end consists of the JNI wrapper that communicates between Qt and the Java Car API. During the back end initialization, a set of conditions must be met to ensure that the car API back end is going to work as excepted. The following conditions are checked:

  • The Android version is at least Android 10 (Q).
  • The OS is Android Automotive (i.e. supports FEATURE_AUTOMOTIVE).
  • The APK is signed with the correct platform key.

If any of the above conditions are not met, the app reports a descriptive error message and aborts immediately. You can set the environment variable NO_FATAL_PREREQUISITES_FAIL to avoid aborting the app, and only print an error message. If all conditions are met, the back end proceeds to initialization as expected.

Available under certain Qt licenses.
Find out more.