12,964
回編集
(→エラー関連) |
|||
596行目: | 596行目: | ||
== エラー関連 == | == エラー関連 == | ||
==== : | ==== ビルドエラー : QtBase ==== | ||
Qt 5のビルドにおいて、以下に示すようなエラーが表示される場合がある。<br> | Qt 5のビルドにおいて、以下に示すようなエラーが表示される場合がある。<br> | ||
qt-everywhere-src-5.15.x/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/qeglfsbrcmintegration.cpp:74:5: Error: »EGL_DISPMANX_WINDOW_T« was not declared in this scope | qt-everywhere-src-5.15.x/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/qeglfsbrcmintegration.cpp:74:5: Error: »EGL_DISPMANX_WINDOW_T« was not declared in this scope | ||
617行目: | 617行目: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<br> | <br> | ||
==== No route to host | ==== デバッグエラー : No route to host ==== | ||
デバッグ実行開始前に、以下に示すようなエラーが表示される場合がある。<br> | デバッグ実行開始前に、以下に示すようなエラーが表示される場合がある。<br> | ||
tcp:<IPアドレス または ホスト名> | tcp:<IPアドレス または ホスト名> | ||
628行目: | 628行目: | ||
sudo firewall-cmd --permanent --zone=public --add-port="10000-10100"/tcp | sudo firewall-cmd --permanent --zone=public --add-port="10000-10100"/tcp | ||
sudo firewall-cmd --reload | sudo firewall-cmd --reload | ||
<br> | |||
==== デバッグエラー : プラットフォームの選択 ==== | |||
デバッグ実行開始直後に、以下に示すようなエラーが表示される場合がある。<br> | |||
qt.qpa.plugin: Could not load the Qt platform plugin "eglfs" in "/home/raspi/InstallSoftware/Qt_5_15_13/plugins/platforms" even though it was found. | |||
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. | |||
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb. | |||
<br> | |||
これは、GUIソフトウェアの実行時において、デフォルトのプラットフォームを選択していないことに起因する。<br> | |||
実行時のコマンドライン引数において、<code>-platform <パラメータ></code>を指定することにより、実行するプラットフォームを選択することができる。<br> | |||
* EGLFSで実行する場合 | |||
*: <code>-platform eglfs</code> | |||
* XCBで実行する場合 | |||
*: <code>-platform xcb</code> | |||
<br> | <br> | ||
==== libEGL warning: DRI2: failed to authenticate - Raspberry 4Bのみ ==== | ==== libEGL warning: DRI2: failed to authenticate - Raspberry 4Bのみ ==== |