이 페이지에서

Lua 스크립트 생성

Qt Creator 에 간단한 기능을 추가하려면 Lua 스크립트를 작성하여 실행하십시오.

이 샘플 스크립트는 편집기의 현재 커서 위치에 문자열을 추가합니다.

Lua 스크립트를 생성하려면:

  1. Tools > Scripting > New Script 로 이동합니다.
  2. ' File name'에서 스크립트 파일의 이름을 입력합니다.
  3. ' Finish '을 선택하여 스크립트 파일을 생성합니다.
  4. 샘플 스크립트를 편집합니다.

Lua 스크립트 실행

Lua 스크립트를 실행하려면:

  1. ' Tools ' > ' Scripting'로 이동합니다.
  2. 스크립트를 선택한 다음, [ Run]을 선택합니다.

Lua 스크립트 편집

Lua 스크립트를 편집하려면:

  1. Tools > Scripting 로 이동합니다.
  2. 스크립트를 선택한 다음, [ Edit]을 선택합니다.

‘텍스트 편집 매크로 기록항목도 참조하십시오 .

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.