| 1,192行目: | 1,192行目: | ||
<br> | <br> | ||
この時、Qt Creator 14は使用せずに、Qt Creator 13以前を使用する必要がある。<br> | この時、Qt Creator 14は使用せずに、Qt Creator 13以前を使用する必要がある。<br> | ||
<br> | |||
==== ロケールに関する警告 ==== | |||
デバッグ開始時において、以下に示す警告が表示される場合がある。<br> | |||
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. | |||
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. | |||
If this causes problems, reconfigure your locale. See the locale(1) manual | |||
for more information. | |||
<br> | |||
これは、リモートデバッグ時にRaspberry Pi側で誤ったロケールが使用されているためである。<br> | |||
<br> | |||
Qt Creatorのデバッグ設定において、環境変数を明示的に設定する。<br> | |||
# [プロジェクト]を開いて、Qt Creatorのメイン画面左ペインにある[デバッグ] - [実行]を選択する。 | |||
# 次に、Environment (環境変数) セクションで[Details]を選択して、以下に示す設定を追加する。 | |||
#: <code>LANG=C.UTF-8</code> | |||
#: <code>LC_ALL=C.UTF-8</code> | |||
<br><br> | <br><br> | ||