qt_set_ifcodegen_variable

Sets the variable to the given value within an ifcodegen template.

The command is defined in the InterfaceFramework component of the Qt6 package.

Load the package with:

find_package(Qt6 REQUIRED COMPONENTS InterfaceFramework)

Synopsis

qt_set_ifcodegen_variable(name value)

If versionless commands are disabled, use qt6_set_ifcodegen_variable() instead. It supports the same set of arguments as this command.

Description

Sets the variable to the given value. This function is used within ifcodegen templates to provide variables which are exported to the current scope when using qt6_ifcodegen_extend_target or qt6_ifcodegen_import_variables.

© 2023 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.