Crear scripts de Lua
Para añadir pequeñas funciones a Qt Creator, crea y ejecuta scripts de Lua.
El script de ejemplo añade una cadena en la posición actual del cursor en el editor.
Para crear scripts de Lua:
- Ve a Tools > Scripting > New Script.
- En « File name », introduce un nombre para el archivo de script.
- Selecciona « Finish » para crear el archivo de script.
- Edita el script de ejemplo.
Ejecutar scripts de Lua
Para ejecutar scripts de Lua:
- Vaya a « Tools » > « Scripting ».
- Selecciona un script y, a continuación, selecciona « Run ».
Editar scripts de Lua
Para editar scripts de Lua:
- Ve a « Tools » > « Scripting ».
- Selecciona un script y, a continuación, selecciona « Edit ».
Véase también «Grabar macros de edición de texto».
Copyright © The Qt Company Ltd. and other contributors. 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.