Na tej strani

Ustvarjanje skriptov v Lua

Če želite dodati manjše funkcije v Qt Creator, ustvarite in zaženite skripte v jeziku Lua.

Vzorčni skript doda niz na trenutni položaj kazalca v urejevalniku.

Za ustvarjanje skriptov v jeziku Lua:

  1. Pojdite na Tools > Scripting > New Script.
  2. V oknu » File name « vnesite ime za datoteko skripta.
  3. Izberite » Finish «, da ustvarite datoteko skripta.
  4. Uredite vzorčni skript.

Zagon skriptov Lua

Za zagon skriptov Lua:

  1. Pojdite na » Tools « > » Scripting «.
  2. Izberite skript, nato pa izberite » Run « (Ustvari skriptno datoteko).

Urejanje skriptov Lua

Za urejanje skriptov Lua:

  1. Pojdite na Tools > Scripting.
  2. Izberite skript, nato pa izberite » Edit «.

Glejte tudi Snemanje makrov za urejanje besedila.

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.