| 1,283行目: | 1,283行目: | ||
<br> | <br> | ||
さらに、PinePhoneの~/.profileファイルまたは~/.bashrcファイルに、以下の設定を追記する。<br> | さらに、PinePhoneの~/.profileファイルまたは~/.bashrcファイルに、以下の設定を追記する。<br> | ||
export QT_QPA_PLATFORM=wayland | # Enable Qt Debug | ||
export QT_QPA_PLATFORMTHEME=qt5ct | # export QT_QPA_PLATFORM="wayland" (不要) | ||
export DISPLAY=:0 または export DISPLAY=:0.0 | # export QT_QPA_PLATFORMTHEME="qt5ct" (不要) | ||
export XAUTHORITY=/home/<PinePhoneのユーザ名>/.Xauthrity | export DISPLAY=":0" または export DISPLAY=":0.0" | ||
export XDG_SESSION_TYPE=wayland | # export XAUTHORITY="/home/<PinePhoneのユーザ名>/.Xauthrity" (不要) | ||
export XDG_SESSION_TYPE="wayland" | |||
# export XDG_RUNTIME_DIR="<XDG_RUNTIME_DIRに指定するディレクトリ>" (不要) | |||
export | # Enable Qt Quick Debug | ||
< | export QML_IMPORT_PATH="/home/<PinePhoneのユーザ名>/InstallSoftware/Qt_x_x_x/qml" | ||
export QML2_IMPORT_PATH="/home/<PinePhoneのユーザ名>/InstallSoftware/Qt_x_x_x/qml" | |||
export QT_PLUGIN_PATH="/home/<PinePhoneのユーザ名>/InstallSoftware/Qt_x_x_x/plugins" | |||
export QT_QPA_PLATFORM_PLUGIN_PATH="/home/<PinePhoneのユーザ名>/InstallSoftware/Qt_x_x_x/plugins/platforms" | |||
export QMLJSDEBUGGER_PATH="/home/<PinePhoneのユーザ名>/InstallSoftware/Qt_x_x_x/plugins/qmltooling/libqmldbg_debugger.so" | |||
<br> | <br> | ||
これにより、PinePhoneでQtライブラリが使用できる。<br> | これにより、PinePhoneでQtライブラリが使用できる。<br> | ||