qt_finalize_executable

Note: This command is in technology preview and may change in future releases.

Synopsis

qt_finalize_executable(target)

qt6_finalize_executable(target)

Description

After a target is created, further processing or finalization steps are commonly needed. The steps to perform depend on the platform and on various properties of the target. These steps are expected to be performed within the same directory scope as the one in which the target was created, so this command should also be called from that same directory scope.

This command implements the following, as appropriate for the platform and target provided:

  • When targeting Android, generate a deployment settings file for the target.
  • Create a build target for generating an APK if building for Android.

This command is ordinarily invoked as part of a call to qt_add_executable(). The timing of when that call takes place and when it might need to be called explicitly by a project is discussed in the documentation of that command.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.1/qt-finalize-executable.html