Na ovoj stranici

Stvaranje Lua skripti

Za dodavanje malih značajki u Qt Creator, stvorite i pokrenite Lua skripte.

Primjer skripte dodaje niz na trenutnoj poziciji kursora u uređivaču.

Za izradu Lua skripti:

  1. Idite na Tools > Scripting > New Script.
  2. U prozoru File name unesite naziv za datoteku skripte.
  3. Odaberite Finish za stvaranje datoteke skripte.
  4. Uredite primjer skripte.

Pokreni Lua skripte

Za pokretanje Lua skripti:

  1. Idite na Tools > Scripting.
  2. RunOdaberite skriptu, a zatim odaberite Pokreni skriptu.

Uređivanje Lua skripti

Za uređivanje Lua skripti:

  1. Idite na Tools > Scripting.
  2. Odaberite skriptu, a zatim odaberite Edit.

Vidi također: Snimanje makroa za uređivanje teksta.

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.