このページでは

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.