Creare script Lua
Per aggiungere piccole funzionalità a Qt Creator, crea ed esegui script Lua.
Lo script di esempio aggiunge una stringa nella posizione corrente del cursore nell'editor.
Per creare script Lua:
- Vai su Tools > Scripting > New Script.
- In " File name", inserire un nome per il file dello script.
- Selezionare " Finish " per creare il file di script.
- Modifica lo script di esempio.
Esecuzione degli script Lua
Per eseguire gli script Lua:
- Vai su " Tools " > " Scripting".
- Selezionare uno script, quindi selezionare " Run".
Modifica degli script Lua
Per modificare gli script Lua:
- Vai su Tools > Scripting.
- Selezionare uno script, quindi selezionare " Edit".
Vedi anche Registrazione delle macro di modifica del testo.
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.