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.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.